語言

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

適用於