ItemDragEventArgs Constructor (MouseButtons)

 

Initializes a new instance of the ItemDragEventArgs class with a specified mouse button.

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

public:
ItemDragEventArgs(
	MouseButtons button
)

Parameters

button
Type: System.Windows.Forms::MouseButtons

A bitwise combination of MouseButtons values that indicates which mouse buttons were pressed.

When this version of the constructor is used, the value of the Item property is automatically set to null.

.NET Framework
Available since 1.1
Return to top
Show: