This topic has not yet been rated - Rate this topic

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 name Description
Next Move focus to the next focusable element in tab order. Not supported for PredictFocus.
Previous Move focus to the previous focusable element in tab order. Not supported for PredictFocus.
First Move focus to the first focusable element in tab order. Not supported for PredictFocus.
Last Move focus to the last focusable element in tab order. Not supported for PredictFocus.
Left Move focus to another focusable element to the left of the currently focused element.
Right Move focus to another focusable element to the right of the currently focused element.
Up Move focus to another focusable element upwards from the currently focused element.
Down Move focus to another focusable element downwards 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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ