windowsforms-devexpress-dot-xtralayout-dot-optionsfocus-03fec51c.md
Gets or sets whether the headers of tabbed groups can be focused.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowFocusTabbedGroups { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowFocusTabbedGroups As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the headers of tabbed groups can be focused; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowFocusTabbedGroups |
|---|---|
| LayoutControl |
.OptionsFocus .AllowFocusTabbedGroups
|
If this property is set to true a tabbed group’s header can receive focus through the TAB key or when it’s clicked by a mouse. When a tab page header is focused, pressing the Left and Right Arrow buttons allows an end-user to iterate through tab pages.
If the AllowFocusTabbedGroups property is set to false , the headers of tabbed groups cannot be focused.
Note that if both the AllowFocusTabbedGroups and OptionsFocus.AllowFocusControlOnActivatedTabPage properties are set to true clicking a tab page header moves focus to the header, but not to the first focusable control within the tab page. If the CTRL+TAB shortcut is pressed within a tab page the following tab page is opened. Its header, however, is not focused even if the AllowFocusTabbedGroups property is set to true.
See Also