Search code examples
wpfxamlmovable

Making a moveable control in WPF


I have a panel, within that panel are several rectangular controls (the number of controls vaires) I want the user to be able to move the controls around within the panel so that they can arrange the controls in the way that suits them best. does anyone have any resources i could read or simple tips which would get me headed down the right road?

thanks


Solution

  • You can find a lot of inspiration here:

    http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part1.aspx

    http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part2.aspx

    http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part3.aspx

    http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part4.aspx