Overview | Methods | This Package | All Packages
Assigns a delegate to the beforeLabelEdit event.
Syntax
public void addOnBeforeLabelEdit( NodeLabelEditEventHandler value )
Parameters
value
The NodeLabelEditEventHandler delegate to be notified when the event occurs.
Remarks
Passing an event handler as a parameter to this method is equivalent to setting the beforeLabelEdit event to that method in the Properties window. The beforeLabelEdit event occurs when the user starts editing the text for a tree node. To prevent the user from editing text in the tree view control, your event handler can cancel this event. If the labelEdit property is set to false, this event is not triggered, and the user cannot edit in the tree view control.
See Also removeOnBeforeLabelEdit