Assigns a delegate to the beforeSelect event.
public void addOnBeforeSelect( TreeViewCancelEventHandler value )
value
The TreeViewCancelEventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the beforeSelect event to that method in the Properties window. The beforeSelect event occurs when the selection in the tree view control is about to change. If the event handler cancels this event, the selection will not change.
See Also removeOnBeforeSelect