Summary
Manages focus for the application.
- Namespace
- Avalonia
.Input - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IFocusManager"]
click Interface0 "/api/Avalonia.Input/IFocusManager"
Type["FocusManager"]
class Type type-node
Syntax
public class FocusManager : IFocusManager
Properties
Name | Value | Summary |
---|---|---|
Current | IInputElement? |
Gets the currently focused
IInputElement .
|
Instance | IFocusManager |
Gets the instance of the
IFocusManager .
static
|
Scope | IFocusScope? |
Gets the current focus scope.
|
Methods
Name | Value | Summary |
---|---|---|
Focus |
void |
Focuses a control.
|
SetFocusedElement |
void |
Sets the currently focused element in the specified scope.
|
SetFocusScope |
void |
Notifies the focus manager of a change in focus scope.
|