Wimark.Controls Class Library  

TreeView.BeforeCheck Event

Occurs before the check box state of a tree node is changed.

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

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