RadTreeView provides a large set of events which allows you to respond to node interactions.
NodeAdded/NodeAdding - the events occur before and after node is added.
NodeRemoved/NodeRemoving- the events occur before and after node is removed.
NodeMouseClick/NodeMouseDoubleClick - the events occur when a node is clicked or double clicked.
NodeExpandedChanged/NodeExpandedChanging - the events occur before and after node is expanded or collapsed.
The above events are using RadTreeViewEventArgs and RadTreeViewCancelEventArgs objects to provide you with useful information inside the events. The main difference is that you can cancel the interaction in the second case. These objects are exposing the following information:
|Action||Indicates how the node was changed. Can have the following values: ByKeyboard; ByMouse; Unknown.|
|Node||The node that has been changed.|
|TreeElement||Gives the main TreeView element the node belongs to.|
|TreeView||Returns the TreeView control that holds the current node.|
|Cancel||Allows you to cancel the change.(Only available in the RadTreeViewCancelEventArgs object)|