Skip to main content

IFocusManager Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Manages focus for the application.

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface IFocusManager
View Source

Methods​

ClearFocus()Clears currently focused element.
Unstable.
GetFocusedElement()Gets the currently focused IInputElement.

See Also​

Reference​

Avalonia.Input Namespace