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
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา