IInputElement.IsKeyboardFocused Propriété
Définition
Obtient une valeur qui indique si l’élément a le focus clavier.Gets a value that indicates whether this element has keyboard focus.
public:
property bool IsKeyboardFocused { bool get(); };
public bool IsKeyboardFocused { get; }
member this.IsKeyboardFocused : bool
Public ReadOnly Property IsKeyboardFocused As Boolean
Valeur de propriété
true
si cet élément accepte le focus clavier ; sinon, false
.true
if this element has keyboard focus; otherwise, false
.
Remarques
Cette interface n’est pas destinée à une implémentation publique.This interface is not intended for public implementation. Pour plus d’informations, consultez la section Notes de l' IInputElement interface.For more information, see remarks for the IInputElement interface.
Les implémentations existantes dans le Windows Presentation Foundation (WPF) Core (consultez ContentElement.IsKeyboardFocused et UIElement.IsKeyboardFocused ) établissent cette propriété en tant que propriété de dépendance.Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement.IsKeyboardFocused and UIElement.IsKeyboardFocused) establish this property as a dependency property.