Occurs before the value and text of a tree node is edited.
[Visual Basic] Public Event BeforeEdit As TreeViewCancelEventHandler [C#] public event TreeViewCancelEventHandler BeforeEdit; [C++] public: __event TreeViewCancelEventHandler* BeforeEdit;
The event handler receives an argument of type TreeViewCancelEventArgs containing data related to this event. The following TreeViewCancelEventArgs property provides information specific to this event.
Property | Description |
---|---|
Action | Gets the type of action that raised the event. |
Cancel | Gets or sets a value indicating whether the event should be canceled. |
Node | Gets the tree node to be checked, expanded, collapsed, edited, or selected. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
TreeView Class | TreeView Members | Wimark.Controls Namespace