This documentation is archived and is not being maintained.

MouseAction.WheelDirection Property

Gets or sets the direction and amount in pixels of the mouse wheel motion.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public int WheelDirection { get; set; }

Property Value

Type: System.Int32
A positive number indicates a forward direction (down); a negative number indicates a reverse direction (up).

Setting this property raises the PropertyChanged event.