MouseDevice.GetButtonState(MouseButton) Methode

Definition

Ruft den Zustand der angegebenen Maustaste ab.

protected:
 System::Windows::Input::MouseButtonState GetButtonState(System::Windows::Input::MouseButton mouseButton);
protected System.Windows.Input.MouseButtonState GetButtonState (System.Windows.Input.MouseButton mouseButton);
member this.GetButtonState : System.Windows.Input.MouseButton -> System.Windows.Input.MouseButtonState
Protected Function GetButtonState (mouseButton As MouseButton) As MouseButtonState

Parameter

mouseButton
MouseButton

Die Taste, die abgerufen wird.

Gibt zurück

Der Zustand der Taste.

Gilt für: