TreeViewCancelEventArgs(TreeNode, Boolean, TreeViewAction) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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
- 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.