TreeViewEventArgs Constructors
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 TreeViewEventArgs class.
Overloads
TreeViewEventArgs(TreeNode) |
Initializes a new instance of the TreeViewEventArgs class for the specified tree node. |
TreeViewEventArgs(TreeNode, TreeViewAction) |
Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event. |
TreeViewEventArgs(TreeNode)
Initializes a new instance of the TreeViewEventArgs class for the specified tree node.
public:
TreeViewEventArgs(System::Windows::Forms::TreeNode ^ node);
public TreeViewEventArgs (System.Windows.Forms.TreeNode node);
public TreeViewEventArgs (System.Windows.Forms.TreeNode? node);
new System.Windows.Forms.TreeViewEventArgs : System.Windows.Forms.TreeNode -> System.Windows.Forms.TreeViewEventArgs
Public Sub New (node As TreeNode)
Parameters
See also
Applies to
TreeViewEventArgs(TreeNode, TreeViewAction)
Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.
public:
TreeViewEventArgs(System::Windows::Forms::TreeNode ^ node, System::Windows::Forms::TreeViewAction action);
public TreeViewEventArgs (System.Windows.Forms.TreeNode node, System.Windows.Forms.TreeViewAction action);
public TreeViewEventArgs (System.Windows.Forms.TreeNode? node, System.Windows.Forms.TreeViewAction action);
new System.Windows.Forms.TreeViewEventArgs : System.Windows.Forms.TreeNode * System.Windows.Forms.TreeViewAction -> System.Windows.Forms.TreeViewEventArgs
Public Sub New (node As TreeNode, action As TreeViewAction)
Parameters
- action
- TreeViewAction
The type of TreeViewAction that raised the event.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈