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.