FocusNavigationDirection FocusNavigationDirection FocusNavigationDirection FocusNavigationDirection Enum

Definition

Specifies the direction within a user interface (UI) in which a desired focus change request is attempted. The direction is either based on tab order or by relative direction in layout.

public enum class FocusNavigationDirection
public enum FocusNavigationDirection
type FocusNavigationDirection = 
Public Enum FocusNavigationDirection
Inheritance
FocusNavigationDirectionFocusNavigationDirectionFocusNavigationDirectionFocusNavigationDirection

Fields

Down Down Down Down 7

Move focus to another focusable element downwards from the currently focused element.

First First First First 2

Move focus to the first focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection).

Last Last Last Last 3

Move focus to the last focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection).

Left Left Left Left 4

Move focus to another focusable element to the left of the currently focused element.

Next Next Next Next 0

Move focus to the next focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection).

Previous Previous Previous Previous 1

Move focus to the previous focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection).

Right Right Right Right 5

Move focus to another focusable element to the right of the currently focused element.

Up Up Up Up 6

Move focus to another focusable element upwards from the currently focused element.

Remarks

Left, Right, Down, and Up each move focus in that direction based on an approximate representation of the relative item positions in the rendered window. Not all such directional movements are possible, depending on the relative layout of your UI.

Applies to

See also