Mouse.MoveScrollWheelImplementation Method

Scrolls the mouse wheel on the specified control the specified number of times while pressing the specified modifier keys.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Protected Overridable Sub MoveScrollWheelImplementation ( _
    control As UITestControl, _
    wheelMoveCount As Integer, _
    modifierKeys As ModifierKeys _
)
protected virtual void MoveScrollWheelImplementation(
    UITestControl control,
    int wheelMoveCount,
    ModifierKeys modifierKeys
)
protected:
virtual void MoveScrollWheelImplementation(
    UITestControl^ control, 
    int wheelMoveCount, 
    ModifierKeys modifierKeys
)
abstract MoveScrollWheelImplementation : 
        control:UITestControl * 
        wheelMoveCount:int * 
        modifierKeys:ModifierKeys -> unit 
override MoveScrollWheelImplementation : 
        control:UITestControl * 
        wheelMoveCount:int * 
        modifierKeys:ModifierKeys -> unit 
protected function MoveScrollWheelImplementation(
    control : UITestControl, 
    wheelMoveCount : int, 
    modifierKeys : ModifierKeys
)

Parameters

  • wheelMoveCount
    Type: System.Int32
    Number of mouse wheel scrolls.

Remarks

The direction of the wheel is determined by the sign of wheelMoveCount. Positive values indicate forward mouse scrolling; negative values indicate backward mouse scrolling.

.NET Framework Security

See Also

Reference

Mouse Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

ModifierKeys

UITestControl