UIElement.HasEffectiveKeyboardFocus Proprietà

Definizione

Ottiene un valore che indica se UIElement ha lo stato attivo.

protected public:
 virtual property bool HasEffectiveKeyboardFocus { bool get(); };
protected internal virtual bool HasEffectiveKeyboardFocus { get; }
member this.HasEffectiveKeyboardFocus : bool
Protected Friend Overridable ReadOnly Property HasEffectiveKeyboardFocus As Boolean

Valore della proprietà

Boolean

true se UIElement ha lo stato attivo; in caso contrario, false.

Commenti

Le sottoclassi possono eseguire l'override di questa proprietà per specificare quando l'elemento ha lo stato attivo sulla tastiera. Questo è utile quando UIElement contiene elementi che possono avere lo stato attivo della tastiera e si vuole che l'elemento segnala che ha lo stato attivo.

Si applica a