Share via


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)

Syntax

'Declaration
Public Property WheelDirection As Integer
public int WheelDirection { get; set; }
public:
property int WheelDirection {
    int get ();
    void set (int value);
}
member WheelDirection : int with get, set
function get WheelDirection () : int 
function set WheelDirection (value : int)

Property Value

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

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged