Skip to main content
Version: 3.5

TreeViewEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect events of a TreeView control.

public class TreeViewEventArgs : EventArgs

Constructors

Instance memberTreeViewEventArgs(node)

Initializes a new instance of the TreeViewEventArgs class for the specified tree node.

NameTypeDescription
nodeTreeNodeThe TreeNode that the event is responding to.

Instance memberTreeViewEventArgs(node, action)

Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.

NameTypeDescription
nodeTreeNodeThe TreeNode that the event is responding to.
actionTreeViewActionThe type of TreeViewAction that raised the event.

Instance memberTreeViewEventArgs(nodes, action)

Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.

NameTypeDescription
nodesTreeNode[]An array of TreeNode that the event is responding to.
actionTreeViewActionThe type of TreeViewAction that raised the event.

Properties

Instance memberAction

TreeViewAction: Returns the type of action that raised the event.

Instance memberNode

TreeNode: Returns the tree node that has been checked, expanded, collapsed, or selected.

Instance memberNodes

TreeNode[]: Returns the tree nodes that have been selected in a multi-selection treeview.

Used By

NameDescription
TreeViewEventHandlerRepresents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.