C# Class Habanero.Faces.Base.TreeViewCancelEventArgs

Provides data for the TreeView.BeforeCheck, TreeView.BeforeCollapse, TreeView.BeforeExpand, and TreeView.BeforeSelect events of a TreeView control.
Inheritance: CancelEventArgs
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
TreeViewCancelEventArgs ( ITreeNode node, bool cancel, TreeViewAction action ) : System

Initializes a new instance of the TreeViewCancelEventArgs class with the specified tree node, a value specifying whether the event is to be canceled, and the type of tree view action that raised the event.

Method Details

TreeViewCancelEventArgs() public method

Initializes a new instance of the TreeViewCancelEventArgs class with the specified tree node, a value specifying whether the event is to be canceled, and the type of tree view action that raised the event.
public TreeViewCancelEventArgs ( ITreeNode node, bool cancel, TreeViewAction action ) : System
node ITreeNode The TreeNode that the event is responding to.
cancel bool true to cancel the event; otherwise, false.
action TreeViewAction One of the TreeViewAction values indicating the type of action that raised the event.
return System