TreeNodeMouseClickEventArgs 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 TreeNodeMouseClickEventArgs class.
public:
TreeNodeMouseClickEventArgs(System::Windows::Forms::TreeNode ^ node, System::Windows::Forms::MouseButtons button, int clicks, int x, int y);
public TreeNodeMouseClickEventArgs (System.Windows.Forms.TreeNode node, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);
public TreeNodeMouseClickEventArgs (System.Windows.Forms.TreeNode? node, System.Windows.Forms.MouseButtons button, int clicks, int x, int y);
new System.Windows.Forms.TreeNodeMouseClickEventArgs : System.Windows.Forms.TreeNode * System.Windows.Forms.MouseButtons * int * int * int -> System.Windows.Forms.TreeNodeMouseClickEventArgs
Public Sub New (node As TreeNode, button As MouseButtons, clicks As Integer, x As Integer, y As Integer)
Parameters
- node
- TreeNode
The node that was clicked.
- button
- MouseButtons
One of the MouseButtons members.
- clicks
- Int32
The number of clicks that occurred.
- x
- Int32
The x-coordinate where the click occurred.
- y
- Int32
The y-coordinate where the click occurred.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.