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

TreeViewCancelEventArgs Constructor

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.

[Visual Basic]
Public Sub New( _
   ByVal node As TreeNode, _
   ByVal cancel As Boolean, _
   ByVal action As TreeViewAction _
public TreeViewCancelEventArgs(
   TreeNode node,
 bool cancel,
 TreeViewAction action
public: TreeViewCancelEventArgs(
   TreeNode* node,
 bool cancel,
 TreeViewAction action
public function TreeViewCancelEventArgs(
   node : TreeNode,
 cancel : Boolean,
 action : TreeViewAction


The TreeNode that the event is responding to.
true to cancel the event; otherwise, false.
The type of TreeViewAction that raised the event.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

TreeViewCancelEventArgs Class | TreeViewCancelEventArgs Members | System.Windows.Forms Namespace

© 2016 Microsoft