Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsFocus.AllowFocusControlOnActivatedTabPage Property

Gets or sets whether the first control within a tab page is focused when the tab page is activated.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool AllowFocusControlOnActivatedTabPage { get; set; }

#Property Value

Type Default Description
Boolean false

true if the first control within a tab page is focused when the tab page is activated; false if focus is not moved to this control.

#Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFocusControlOnActivatedTabPage
LayoutControl
.OptionsFocus .AllowFocusControlOnActivatedTabPage

#Remarks

If the AllowFocusControlOnActivatedTabPage property is set to true the first control within a tab page is focused when this page is activated.

The first control within a group is determined based upon the value of the OptionsFocus.MoveFocusRightToLeft property. If this property is set to false the group’s first control is the top- leftmost control. If the OptionsFocus.MoveFocusRightToLeft property is set to true the group’s first control is the top-, rightmost control.

See Also