Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. Snap to Object feature [modified]

Snap to Object feature [modified]

Scheduled Pinned Locked Moved LINQ
csharpvisual-studiowpfhelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MandarM
    wrote on last edited by
    #1

    Hi, i am doing an editor kind of project application in wpf in which i am allowing user to drag their controls to the Canvaswindow i.e I have toolbar and canvas area.i have placed controls in the toolbar and those controls can be dragged and droped on the canvas. i am done with dragging and dropping stuff and currently looking for the feature that allows me to snap one control from the boundries of another control while placing a control to Canvas. i.e. when i am placing 2nd control benith/after of the 1st one and if 2nd control is coming in same vertical/horizontal line in that case system should show floating visible line to properly place control in one line. Please, advice me how to do this thing. Same feature is available in VS while form/page desinging, when we drag-drop any control and try to reposition it bellow/beside other control, it usually shows a snap lines between the two controls and also provides the distance between them. i am still looking for this, please do tell me if anybody had done this previously or have any clue on this issue. Thanks in advance, Mandar..........

    modified on Friday, February 27, 2009 1:58 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups