TreeNodeMouseClickEventArgs Constructor

TreeNodeMouseClickEventArgs Constructor (TreeNode, MouseButtons, Int32, Int32, Int32)

 

Initializes a new instance of the TreeNodeMouseClickEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public TreeNodeMouseClickEventArgs(
	TreeNode node,
	MouseButtons button,
	int clicks,
	int x,
	int y
)

Parameters

node
Type: System.Windows.Forms.TreeNode

The node that was clicked.

button
Type: System.Windows.Forms.MouseButtons

One of the MouseButtons members.

clicks
Type: System.Int32

The number of clicks that occurred.

x
Type: System.Int32

The x-coordinate where the click occurred.

y
Type: System.Int32

The y-coordinate where the click occurred.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft