Assigns a delegate to the afterCollapse event.
public void addOnAfterCollapse( TreeViewEventHandler value )
value
The TreeViewEventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the afterCollapse event to that method in the Properties window. The afterCollapse event occurs when a tree node has been collapsed.
See Also removeOnAfterCollapse