Skip to main content

OptionsFocus.EnableAutoTabOrder Property

Gets or sets whether the Automatic Tab Order feature is enabled.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool EnableAutoTabOrder { get; set; }

Property Value

Type Default Description
Boolean true

true if the Automatic Tab Order feature is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableAutoTabOrder
LayoutControl
.OptionsFocus .EnableAutoTabOrder

Remarks

The tab order of controls determines the order in which the controls are cycled when the TAB key is pressed. If the EnableAutoTabOrder property is set to true the Automatic Tab Order feature is enabled. In this mode, the tab order of the controls within the Layout Control is ignored and when the TAB key is pressed, focus moves consistently from one control to another according to the layout control’s settings. The direction in which focus is moved is specified by the OptionsFocus.MoveFocusDirection and OptionsFocus.MoveFocusRightToLeft properties.

If the EnableAutoTabOrder property is set to false, focus moves according to the tab order of the controls, which is specified by the TabIndex property.

The Automatic Tab Order feature is not supported if LayoutControlItems contain container controls (e.g. a UserControl, Panel, etc).

See Also