FocusNavigationDirection FocusNavigationDirection FocusNavigationDirection FocusNavigationDirection Enum

Definition

Specifies the direction that focus moves from element to element within the app UI.

public : enum class FocusNavigationDirection
enum class winrt::Windows::UI::Xaml::Input::FocusNavigationDirection : int32_t
public enum FocusNavigationDirection
Public Enum FocusNavigationDirection
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Down Down Down Down

An element below the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Left Left Left Left

An element to the left of the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Next Next Next Next

The next element in the tab order.

None None None None

No change in focus.

Not supported in Windows 8 apps and Windows Phone apps.

Previous Previous Previous Previous

The previous element in the tab order.

Right Right Right Right

An element to the right of the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Up Up Up Up

An element above the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Remarks

FocusNavigationDirection.Previous and FocusNavigationDirection.Next cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up, FocusNavigationDirection.Down, FocusNavigationDirection.Left, or FocusNavigationDirection.Right are valid.

See Also