TreeViewCancelEventArgs

Wisej.Web.TreeViewCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, and BeforeSelect events of a TreeView control.

public class TreeViewCancelEventArgs : CancelEventArgs

Constructors

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.

NameTypeDescription

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.

NameTypeDescription

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.

Properties

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.

Used By

NameDescription

Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.

Last updated