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

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool AllowFocusControlOnActivatedTabPage { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property AllowFocusControlOnActivatedTabPage As Boolean

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
DataLayoutControl
.OptionsFocus.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