IFocusManager Interface

Summary

Manages focus for the application.
Namespace
Avalonia.Input
Implementing Types
graph BT Type["IFocusManager"] class Type type-node Implementing0["FocusManager"]-.->Type click Implementing0 "/api/Avalonia.Input/FocusManager"

Syntax

public interface IFocusManager

Properties

Name Value Summary
Current IInputElement
Gets the currently focused IInputElement.
Scope IFocusScope
Gets the current focus scope.

Methods

Name Value Summary
Focus(IInputElement, NavigationMethod, InputModifiers) void
Focuses a control.
SetFocusScope(IFocusScope) void
Notifies the focus manager of a change in focus scope.