KeyboardDevice.Focus(IInputElement) Metodo

Definizione

Imposta lo stato attivo della tastiera sull'oggetto specificato IInputElement.

public:
 System::Windows::IInputElement ^ Focus(System::Windows::IInputElement ^ element);
public System.Windows.IInputElement Focus(System.Windows.IInputElement element);
[System.Security.SecurityCritical]
public System.Windows.IInputElement Focus(System.Windows.IInputElement element);
member this.Focus : System.Windows.IInputElement -> System.Windows.IInputElement
[<System.Security.SecurityCritical>]
member this.Focus : System.Windows.IInputElement -> System.Windows.IInputElement
Public Function Focus (element As IInputElement) As IInputElement

Parametri

element
IInputElement

Elemento in cui spostare lo stato attivo.

Valori restituiti

Elemento con lo stato attivo della tastiera.

Attributi

Eccezioni

Si applica a