Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Mouse.MoveScrollWheel Method (Int32, ModifierKeys)

 

Scrolls the mouse wheel 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)

static member MoveScrollWheel : 
        wheelMoveCount:int *
        modifierKeys:ModifierKeys -> unit

Parameters

wheelMoveCount
Type: System.Int32

The number of mouse wheel scrolls.

modifierKeys
Type: System.Windows.Input.ModifierKeys

The ModifierKeys that are pressed while scrolling.

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

Return to top
Show: