Back to Devexpress

OptionsFocus.MoveFocusDirection Property

windowsforms-devexpress-dot-xtralayout-dot-optionsfocus-c1c02d60.md

latest3.4 KB
Original Source

OptionsFocus.MoveFocusDirection Property

Gets or sets the direction in which focus moves in Automatic Tab Order mode when the TAB key is pressed.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(MoveFocusDirection.AcrossThenDown)]
[XtraSerializableProperty]
public MoveFocusDirection MoveFocusDirection { get; set; }
vb
<DefaultValue(MoveFocusDirection.AcrossThenDown)>
<XtraSerializableProperty>
Public Property MoveFocusDirection As MoveFocusDirection

Property Value

TypeDefaultDescription
MoveFocusDirectionAcrossThenDown

A MoveFocusDirection value that specifies the direction in which focus moves.

|

Available values:

NameDescription
AcrossThenDown

Focus moves from one ‘row’ to another selecting each control in a row.

| | DownThenAcross |

Focus moves from one ‘column’ to another selecting each control in a column

|

Property Paths

You can access this nested property as listed below:

Object TypePath to MoveFocusDirection
LayoutControl

.OptionsFocus .MoveFocusDirection

|

Remarks

The Automatic Tab Order feature is enabled if the OptionsFocus.EnableAutoTabOrder property is set to true. In this mode, pressing the TAB key moves focus between controls according to the settings specified by the MoveFocusDirection and OptionsFocus.MoveFocusRightToLeft properties.

If the MoveFocusDirection property is set to MoveFocusDirection.AcrossThenDown, focus moves from one ‘row’ to another selecting each control in a row. If this option is set to MoveFocusDirection.DownThenAcross, focus moves from one ‘column’ to another selecting each control in a column.

See the Focus Management topic for more information.

See Also

EnableAutoTabOrder

MoveFocusRightToLeft

MoveFocusDirection

Focus Management

OptionsFocus Class

OptionsFocus Members

DevExpress.XtraLayout Namespace