DragDropAction.MouseButton Property

Gets or sets which button on the mouse causes the drag-and-drop operation.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property MouseButton As MouseButtons
public MouseButtons MouseButton { get; set; }
public:
property MouseButtons MouseButton {
    MouseButtons get ();
    void set (MouseButtons value);
}
member MouseButton : MouseButtons with get, set
function get MouseButton () : MouseButtons
function set MouseButton (value : MouseButtons)

Property Value

Type: System.Windows.Forms.MouseButtons
The mouse button indicator.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

DragDropAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

MouseButtons

PropertyChanged