共用方式為


MouseDevice.MiddleButton 屬性

定義

這個滑鼠裝置中鍵的狀態。

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

屬性值

按鈕的狀態。

適用於

另請參閱