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 _
)
[C#]
public TreeViewCancelEventArgs(
   TreeNode node,
 bool cancel,
 TreeViewAction action
);
[C++]
public: TreeViewCancelEventArgs(
   TreeNode* node,
 bool cancel,
 TreeViewAction action
);
[JScript]
public function TreeViewCancelEventArgs(
   node : TreeNode,
 cancel : Boolean,
 action : TreeViewAction
);

Parameters

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

Requirements

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

Show:
© 2016 Microsoft