Scroll the mouse wheel.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public MustOverride Sub MoveScrollWheel ( _
    control As UITechnologyElement, _
    wheelMoveCount As Integer, _
    modifierKeys As ModifierKeys _
)
public abstract void MoveScrollWheel(
    UITechnologyElement control,
    int wheelMoveCount,
    ModifierKeys modifierKeys
)
public:
virtual void MoveScrollWheel(
    UITechnologyElement^ control, 
    int wheelMoveCount, 
    ModifierKeys modifierKeys
) abstract
abstract MoveScrollWheel : 
        control:UITechnologyElement * 
        wheelMoveCount:int * 
        modifierKeys:ModifierKeys -> unit
public abstract function MoveScrollWheel(
    control : UITechnologyElement, 
    wheelMoveCount : int, 
    modifierKeys : ModifierKeys
)
Parameters
- control 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement- Control to scroll. 
- wheelMoveCount 
 Type: Int32- Number of mouse wheel scrolls. 
- modifierKeys 
 Type: ModifierKeys- The modifiers key pressed while scrolling. 
Remarks
The direction of wheel is decided by by the sign of wheelMoveCount. If it is +ve then forward otherwise backward direction.
.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.