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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft