I want to disable treenode auto-expansion for certain nodes when I drag a treenode . I tried the DragOverEvent but it did not do what I wanted. I know the Animation property was not correct, but couldn't find anything else.
I've seen a solution for ASP using the "OnClientNodeExpanding" event. Can such a thing be done in the Winforms treeview?
Private
Sub
tvwSetup_DragOverNode(sender
As
Object
, e
As
RadTreeViewDragCancelEventArgs)
Handles
tvwSetup.DragOverNode
'disable expansion for nodes with values < 100
If
e.TargetNode.Value < 100
Then
tvwSetup.ExpandAnimation = ExpandAnimation.None
End
Sub
I've seen a solution for ASP using the "OnClientNodeExpanding" event. Can such a thing be done in the Winforms treeview?