NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TreeView.AddOnAfterLabelEdit

Adds an event handler for the "afterLabelEdit" event notification. The afterLabelEdit event is fired when the user finishes editing the text of a node in the TreeView. The labelEdit property of the TreeView must be true to enable the user to do this. The string to which the user changed the text is passed to the event, and the event handler is given the opportunity to reject the change, in which case the text will revert back to what it was before the user started the change.

[Visual Basic]
Public Sub AddOnAfterLabelEdit( _
   ByVal handler As NodeLabelEditEventHandler _
)
[C#]
public void AddOnAfterLabelEdit(
   NodeLabelEditEventHandler handler
);
[C++]
public: void AddOnAfterLabelEdit(
   NodeLabelEditEventHandler* handler
);
[JScript]
public function AddOnAfterLabelEdit(
   handler : NodeLabelEditEventHandler
);

Parameters

handler
NodeLabelEditEventHandler to install.

See Also

TreeView Class | TreeView Members | System.WinForms Namespace