UIElement.HasEffectiveKeyboardFocus Proprietà

Definizione

Ottiene un valore che indica se l'oggetto ha lo UIElement 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à

true se ha lo UIElement 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 della tastiera. Ciò è utile quando UIElement contiene elementi che possono avere lo stato attivo della tastiera e si desidera che l'elemento segnala che ha lo stato attivo.

Si applica a