Reputation: 570
Does any know how to implement drag and drop in the silverlight toolkit's treeview?
I saw the drag and drop manager for silverlight but supposedly you can put containers around the items you want to drag and drop but I wonder how I would do this on another treeviewitem exactly?
Maybe there is a better way or custom way? Thanks!
Upvotes: 5
Views: 7491
Reputation: 11
One method that should work is using Telerik controls.
First download the telerik controls then add a reference to Telerik.Windows.Controls
; that will allow you to use the IsDragnDropEnable
property for the source treeview and the .AllowDrop
for the Targeted TreeView
Upvotes: 1
Reputation: 1625
The Silverlight Toolkit October (09) release (http://silverlight.codeplex.com/) has added support for drag and drop.
There is a great walk though of the new feature here: http://themechanicalbride.blogspot.com/2009/08/new-with-silverlight-toolkit-drag-and.html
Upvotes: 7