SystemParameters.IsMouseWheelPresent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個數值,表示已安裝的滑鼠是否有垂直滾輪。
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}”/>