-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Input.FocusNavigationDirection |
winrt enum |
Specifies the direction that you can programmatically move focus from one element to another element within the app UI.
The next element in the tab order.
The previous element in the tab order.
An element above the element with focus.
Not supported in Windows 8 apps and Windows Phone apps.
An element below the element with focus.
Not supported in Windows 8 apps and Windows Phone apps.
An element to the left of the element with focus.
Not supported in Windows 8 apps and Windows Phone apps.
An element to the right of the element with focus.
Not supported in Windows 8 apps and Windows Phone apps.
No change in focus.
Not supported in Windows 8 apps and Windows Phone apps.
FocusNavigationDirection.Previous and FocusNavigationDirection.Next cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up, FocusNavigationDirection.Down, FocusNavigationDirection.Left, or FocusNavigationDirection.Right are valid.
TryMoveFocus, Keyboard interactions, Focus navigation for keyboard, gamepad, remote control, and accessibility tools, Programmatic focus navigation