Export (0) Print
Expand All
Expand Minimize

FocusNavigationDirection Enumeration

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.

Namespace:  System.Windows.Input
Assembly:  WindowsBase (in WindowsBase.dll)

public enum FocusNavigationDirection
<object property="enumerationMemberName" .../>

Member nameDescription
DownMove focus to another focusable element downwards from the currently focused element.
FirstMove focus to the first focusable element in tab order. Not supported for PredictFocus.
LastMove focus to the last focusable element in tab order. Not supported for PredictFocus.
LeftMove focus to another focusable element to the left of the currently focused element.
NextMove focus to the next focusable element in tab order. Not supported for PredictFocus.
PreviousMove focus to the previous focusable element in tab order. Not supported for PredictFocus.
RightMove focus to another focusable element to the right of the currently focused element.
UpMove focus to another focusable element upwards from the currently focused element.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft