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.
- C#
- VB.NET
public class TreeViewEventArgs : EventArgs
Public Class TreeViewEventArgs
Inherits EventArgs
Constructors
TreeViewEventArgs(node)
Initializes a new instance of the TreeViewEventArgs class for the specified tree node.
| Name | Type | Description |
|---|---|---|
| node | TreeNode | The TreeNode that the event is responding to. |
TreeViewEventArgs(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.
| Name | Type | Description |
|---|---|---|
| node | TreeNode | The TreeNode that the event is responding to. |
| action | TreeViewAction | The type of TreeViewAction that raised the event. |
TreeViewEventArgs(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.
| Name | Type | Description |
|---|---|---|
| nodes | TreeNode[] | An array of TreeNode that the event is responding to. |
| action | TreeViewAction | The type of TreeViewAction that raised the event. |
Properties
Action
TreeViewAction: Returns the type of action that raised the event.
Node
TreeNode: Returns the tree node that has been checked, expanded, collapsed, or selected.
Nodes
TreeNode[]: Returns the tree nodes that have been selected in a multi-selection treeview.
Used By
| Name | Description |
|---|---|
| TreeViewEventHandler | Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView. |