Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft