TreeViewCancelEventArgs Constructor (TreeNode^, Boolean, TreeViewAction)

 

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.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
TreeViewCancelEventArgs(
	TreeNode^ node,
	bool cancel,
	TreeViewAction action
)

Parameters

node
Type: System.Windows.Forms::TreeNode^

The TreeNode that the event is responding to.

cancel
Type: System::Boolean

true to cancel the event; otherwise, false.

action
Type: System.Windows.Forms::TreeViewAction

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

.NET Framework
Available since 1.1
Return to top
Show: