Drag from Multiple Source In Silverlight 4
In this article we will see Dragging of item from multiple sources and dropping into the target to display data, with rule which we will discuss at the end of the article.
If we have same DataTemplate for each of the sources, in our case ListBoxes then dropping the item would have no issues displaying the dropped data in a ListBox. But assume such scenario where we need to have different DataTemplates for each ListBox with the Context is different, which also means different Entity. The target ListBox would unable to display the data, though the content will be added. So to achieve the scenario we need to have a Panel where UIElements are displayed irrespective of any datatemplate.
To read the full article and download the source code click here.