System.Windows.Forms.ItemDragEventArgs.Button Property

Gets a value that indicates which mouse buttons were pressed during the drag operation.

Syntax

public MouseButtons Button { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property enables you to determine which mouse buttons were pressed during a drag-and-drop operation. The value of this property can be used to properly determine how the drag-and drop-operation should be performed. For example, you might want to move an item to a new location when the left mouse button is pressed, and copy it to the new location when the right mouse button is pressed.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0