TreeView.BeforeLabelEdit Event

 

Occurs before the tree node label text is edited.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member BeforeLabelEdit : IEvent<NodeLabelEditEventHandler,
    NodeLabelEditEventArgs>

For more information about how to handle events, see Handling and Raising Events.

The following code example demonstrates how to use the BeforeLabelEditAfterSelect and TopNode members. To run this example, paste the following code in a form that contains a TreeView control that is named TreeView1. Call the InitializeTreeView method in the form's constructor or Load method.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: