FocusManager Class

Manages focus for the application.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[PrivateApiAttribute]
public class FocusManager : IFocusManager
Inheritance
Object    FocusManager
Implements
IFocusManager

Methods

ClearFocus 
ClearFocusOnElementRemoved(IInputElement, Visual) 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Focus(IInputElement, NavigationMethod, KeyModifiers) Focuses a control.
GetFocusedElement Gets the currently focused IInputElement.
GetFocusedElement(IFocusScope) 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetIsFocusScope(IInputElement) 
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveFocusRoot(IFocusScope) 
SetFocusScope(IFocusScope) Notifies the focus manager of a change in focus scope.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also