Jaa


FocusNavigationDirection Enum

Definition

Specifies the direction that you can programmatically move focus from one element to another element within the app UI.

public enum class FocusNavigationDirection
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FocusNavigationDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FocusNavigationDirection
Public Enum FocusNavigationDirection
Inheritance
FocusNavigationDirection
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Next 0

The next element in the tab order.

Previous 1

The previous element in the tab order.

Up 2

An element above the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Down 3

An element below the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Left 4

An element to the left of the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

Right 5

An element to the right of the element with focus.

Not supported in Windows 8 apps and Windows Phone apps.

None 6

No change in 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.

Applies to

See also