Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Creating a Visual Studio style toolbox
1 replies. Latest Post by preishuber on October 3, 2008.
(0)
Samo Samo
Member
0 points
1 Posts
10-03-2008 3:12 PM |
I'm trying to build a Visual Studio like toolbox where an item can be dragged and dropped into a container. I have found lots of great examples for creating the drag and drop items, but those examples deal with taking a single item and dragging/dropping it to various points in the page. I haven't found a way to drag the item (or a placeholder for the item) to a container and then seeing an instance of the item appear in the target container. Is this even possible in SL?
I saw one other post on the web requesting info for the same problem, but the responses were not exactly what I was looking for.
Thanks, Samo
preishuber
Contributor
3570 points
655 Posts
10-03-2008 3:14 PM |
if you have solved the darg and drop issue, the missing part is to create the copy of the dropped control.
That is realy easy. Just create a instance like new button, fillt the attributes and add it at the childs collection of the container
So - it's possible- by hand