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.v20.1.dll

Declaration

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

Property Value

Type Default Description
MoveFocusDirection

AcrossThenDown

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

Property Paths

You can access this nested property as listed below:

Object Type Path to MoveFocusDirection
DataLayoutControl
.OptionsFocus.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