共用方式為


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 } 」/>

適用於