SystemParameters.SwapButtons 屬性

定義

取得值,指出滑鼠左鍵和右鍵的功能是否已交換。

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

屬性值

如果滑鼠左鍵和右鍵功能已交換,則為 true;否則為 false

屬性

備註

對應至SM_SWAPBUTTON。 請參閱 GetSystemMetrics

XAML 屬性用法

<object property=「{ SystemParameters.SwapButtons } 」/>

適用於