I want some sample code that shows how to selectively prevent drag of nodes in a RadTreeView. That is, if I have some property in a a business object behind the RadTreeView such as "bool PreventDrag {get; set;}", then if this property is set to true, the drag of that tree node should be prevented. If the property is set to false, then it should be possible to drag. I tired to do this by setting the IsDragDropEnabled property of the RadTreeView at run time when a new tree view item is selected but this does not work by changing at run time.
I know how to prevent drop in a region once drag has started. However, I am looking for a way to prevent the drag from starting in the first place.
Thanks,
Karanjit
I know how to prevent drop in a region once drag has started. However, I am looking for a way to prevent the drag from starting in the first place.
Thanks,
Karanjit