Snap to Object feature [modified]
-
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