AutomationPeerHasKeyboardFocus Method
Gets a value that indicates whether the element that is associated with this automation
peer currently has keyboard focus.
Namespace: Avalonia.Automation.PeersAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool HasKeyboardFocus()
Public Function HasKeyboardFocus As Boolean
member HasKeyboardFocus : unit -> bool
Return Value
Boolean | Windows | UIA_HasKeyboardFocusPropertyId |
| macOS | NSAccessibilityProtocol.isAccessibilityFocused |