ItemDragEventArgs Constructor (MouseButtons, Object^)

 

Initializes a new instance of the ItemDragEventArgs class with a specified mouse button and the item that is being dragged.

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

public:
ItemDragEventArgs(
	MouseButtons button,
	Object^ item
)

Parameters

button
Type: System.Windows.Forms::MouseButtons

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

item
Type: System::Object^

The item being dragged.

.NET Framework
Available since 1.1
Return to top
Show: