Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

Can any one help me out how to drag and drop a dynamically created buttons in wpf.
i have two uniform grids in the application on one i created buttons from code and now i want to drag and drop the buttons to another uniform grid.
plz provide me any example with source code.

Thanks,
Posted

1 solution

Pehaps you didn't google properly. There are endless series of articles in the result.
Below are few links to wet your appetite:
http://www.wpftutorial.net/DragAndDrop.html[^]

http://blogs.claritycon.com/blog/2009/03/31/generic-wpf-drag-and-drop-adorner/[^]

http://msdn.microsoft.com/en-us/library/ms742859.aspx[^]

Hope that helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900