Wimark.Controls Class Library  

TreeView.BeforeSelect Event

Occurs before the selected state of a tree node is changed.

[Visual Basic]
Public Event BeforeSelect As TreeViewCancelEventHandler 
[C#]
public event TreeViewCancelEventHandler BeforeSelect;
[C++]
public: __event TreeViewCancelEventHandler* BeforeSelect;

Event Data

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

TreeView Class | TreeView Members | Wimark.Controls Namespace