IRootProviderGetFocus Method

Gets the currently focused element.

Definition

Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
AutomationPeer? GetFocus()

Return Value

AutomationPeer

Remarks

WindowsIRawElementProviderFragmentRoot.GetFocus
macOSUIAccessibility.accessibilityFocusedUIElement

See Also