IInputElement.IsKeyboardFocused Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
true
if this element has keyboard focus; otherwise, false
.
Remarks
This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.
Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement.IsKeyboardFocused and UIElement.IsKeyboardFocused) establish this property as a dependency property.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour