TreeViewCancelEventArgs(TreeNode, Boolean, TreeViewAction) Constructor

Definition

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(System::Windows::Forms::TreeNode ^ node, bool cancel, System::Windows::Forms::TreeViewAction action);
public TreeViewCancelEventArgs (System.Windows.Forms.TreeNode node, bool cancel, System.Windows.Forms.TreeViewAction action);
new System.Windows.Forms.TreeViewCancelEventArgs : System.Windows.Forms.TreeNode * bool * System.Windows.Forms.TreeViewAction -> System.Windows.Forms.TreeViewCancelEventArgs
Public Sub New (node As TreeNode, cancel As Boolean, action As TreeViewAction)

Parameters

node
TreeNode

The TreeNode that the event is responding to.

cancel
Boolean

true to cancel the event; otherwise, false.

action
TreeViewAction

One of the TreeViewAction values indicating the type of action that raised the event.

Applies to