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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET