SystemParameters.IsMouseWheelPresent 属性

定义

获取一个值,该值指示已安装的鼠标是否具有垂直滚轮。

public:
 static property bool IsMouseWheelPresent { bool get(); };
public static bool IsMouseWheelPresent { [System.Security.SecurityCritical] get; }
public static bool IsMouseWheelPresent { get; }
[<get: System.Security.SecurityCritical>]
static member IsMouseWheelPresent : bool
static member IsMouseWheelPresent : bool
Public Shared ReadOnly Property IsMouseWheelPresent As Boolean

属性值

如果已安装的鼠标具有垂直滚轮,则为 true;否则为 false

属性

注解

映射到SM_MOUSEWHEELPRESENT。 请参阅 GetSystemMetrics

XAML 属性使用方法

<object property=“{ SystemParameters.IsMouseWheelPresent}”/>

适用于