CoreComponentInputSource.HasFocus 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 whether the current hosted XAML control element has focus. If it does, keyboard input is delivered to that control.
public:
property bool HasFocus { bool get(); };
bool HasFocus();
public bool HasFocus { get; }
var boolean = coreComponentInputSource.hasFocus;
Public ReadOnly Property HasFocus As Boolean
Property Value
Boolean
bool
true if the element has focus; false if it does not.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla