Mouse.StartDragging Method (UITestControl, Point, MouseButtons, ModifierKeys)
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub StartDragging ( _
control As UITestControl, _
relativeCoordinate As Point, _
button As MouseButtons, _
modifierKeys As ModifierKeys _
)
public static void StartDragging(
UITestControl control,
Point relativeCoordinate,
MouseButtons button,
ModifierKeys modifierKeys
)
public:
static void StartDragging(
UITestControl^ control,
Point relativeCoordinate,
MouseButtons button,
ModifierKeys modifierKeys
)
static member StartDragging :
control:UITestControl *
relativeCoordinate:Point *
button:MouseButtons *
modifierKeys:ModifierKeys -> unit
public static function StartDragging(
control : UITestControl,
relativeCoordinate : Point,
button : MouseButtons,
modifierKeys : ModifierKeys
)
Parameters
- control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
- relativeCoordinate
Type: Point
- button
Type: MouseButtons
- modifierKeys
Type: ModifierKeys
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.