Back to Devexpress

OptionsFocus.EnableAutoTabOrder Property

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

latest3.0 KB
Original Source

OptionsFocus.EnableAutoTabOrder Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool EnableAutoTabOrder { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property EnableAutoTabOrder As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

MoveFocusDirection

MoveFocusRightToLeft

Focus Management

OptionsFocus Class

OptionsFocus Members

DevExpress.XtraLayout Namespace