Skip to main content

Microsoft Silverlight

Answered Question Creating a Visual Studio style toolboxRSS Feed

(0)

Samo Samo
Samo Samo

Member

Member

0 points

1 Posts

Creating a Visual Studio style toolbox

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
preishuber

Contributor

Contributor

3570 points

655 Posts

Answered Question

Re: Creating a Visual Studio style toolbox

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

-Hannes

http://www.preishuber.net http://weblogs.asp.net/hpreishuber
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities