IInputElement.IsKeyboardFocusWithin Propriété
Définition
Obtient une valeur qui indique si le focus clavier se trouve à l’intérieur des limites de l’élément, y compris si le focus clavier est à l’intérieur des limites de tous les éléments enfants visuels.Gets a value that indicates whether keyboard focus is anywhere inside the element bounds, including if keyboard focus is inside the bounds of any visual child elements.
public:
property bool IsKeyboardFocusWithin { bool get(); };
public bool IsKeyboardFocusWithin { get; }
member this.IsKeyboardFocusWithin : bool
Public ReadOnly Property IsKeyboardFocusWithin As Boolean
Valeur de propriété
true
si le focus clavier se trouve sur l’élément ou sur ses éléments enfants ; sinon, false
.true
if keyboard focus is on the element or its child elements; 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.IsKeyboardFocusWithin et UIElement.IsKeyboardFocusWithin ) établissent cette propriété en tant que propriété de dépendance.Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement.IsKeyboardFocusWithin and UIElement.IsKeyboardFocusWithin) establish this property as a dependency property.