Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
TreeView.addOnBeforeExpand
Assigns a delegate to the beforeExpand event.
Syntax
public void addOnBeforeExpand( TreeViewCancelEventHandler value )
Parameters
value
The TreeViewCancelEventHandler delegate to be notified when the event occurs.
Remarks
Passing an event handler as a parameter to this method is equivalent to setting the beforeExpand event to that method in the Properties window. The beforeExpand event occurs when a tree node is about to be expanded. If the event handler cancels this event, the node will not be expanded.
See Also removeOnBeforeExpand