获取或设置鼠标滚轮运动的方向和量(以像素为单位)。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public int WheelDirection { get; set; }
public:
property int WheelDirection {
int get();
void set(int value);
}
member WheelDirection : int with get, set
Public Property WheelDirection As Integer
属性值
Type: System.Int32
正数指示前进方向(向下);负数指示反向(向上)。
备注
设置此属性将引发 PropertyChanged 事件。
请参阅
PropertyChanged
MouseAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首