TreeViewCancelEventArgs Constructor
Collapse the table of content
Expand the table of content

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


Type: System.Windows.Forms.TreeNode

The TreeNode that the event is responding to.

Type: System.Boolean

true to cancel the event; otherwise, false.

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
© 2016 Microsoft