Compartilhar via


MouseDevice.GetButtonState(MouseButton) Método

Definição

Obtém o estado do botão do mouse especificado.

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

Parâmetros

mouseButton
MouseButton

O botão que está sendo consultado.

Retornos

O estado do botão.

Aplica-se a