共用方式為


MouseDevice.XButton1 屬性

定義

取得這個滑鼠裝置第一個擴充按鍵的狀態。

public:
 property System::Windows::Input::MouseButtonState XButton1 { System::Windows::Input::MouseButtonState get(); };
public System.Windows.Input.MouseButtonState XButton1 { get; }
member this.XButton1 : System.Windows.Input.MouseButtonState
Public ReadOnly Property XButton1 As MouseButtonState

屬性值

按鈕的狀態。

適用於