TreeViewCancelEventArgs
Wisej.Web.TreeViewCancelEventArgs
Last updated
Wisej.Web.TreeViewCancelEventArgs
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, and BeforeSelect events of a TreeView control.
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.
Name | Type | Description |
---|---|---|
node | The TreeNode that the event is responding to. | |
cancel | true to cancel the event; otherwise, false. | |
action | One of the TreeViewAction values indicating the type of action that raised the event. |
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.
Name | Type | Description |
---|---|---|
nodes | An array of TreeNode that the event is responding to. | |
cancel | true to cancel the event; otherwise, false. | |
action | One of the TreeViewAction values indicating the type of action that raised the event. |
TreeViewAction: Returns the type of action that raised the event.
TreeNode: Returns the tree node that has been checked, expanded, collapsed, or selected.
TreeNode[]: Returns the tree nodes that has been selected in a multiselection treeview.
Name | Description |
---|---|
Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView. |