Partager via


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

  • relativeCoordinate
    Type: Point
  • button
    Type: MouseButtons
  • modifierKeys
    Type: ModifierKeys

.NET Framework Security

See Also

Reference

Mouse Class

StartDragging Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace