XYFocusNavigationStrategy Enumeration
Namespace: Avalonia.InputAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum XYFocusNavigationStrategy
Public Enumeration XYFocusNavigationStrategy
type XYFocusNavigationStrategy
| Auto | 0 |
Indicates that navigation strategy is inherited from the element's ancestors. If all ancestors have a value of Auto, the fallback strategy is Projection.
|
| Projection | 1 |
Indicates that focus moves to the first element encountered when projecting the edge of the currently focused element in the direction of navigation.
|
| NavigationDirectionDistance | 2 |
Indicates that focus moves to the element closest to the axis of the navigation direction.
|
| RectilinearDistance | 3 |
Indicates that focus moves to the closest element based on the shortest 2D distance (Manhattan metric).
|