Condividi tramite


MouseDevice.GetButtonState(MouseButton) Metodo

Definizione

Ottiene lo stato del pulsante del mouse specificato.

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

Parametri

mouseButton
MouseButton

Il pulsante sul quale si sta eseguendo una query.

Restituisce

Stato del pulsante.

Si applica a