Skip to main content

OptionsFocus.AllowFocusGroups Property

Gets or sets whether the expand buttons of regular groups can be focused when the TAB key is pressed.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Boolean true

true if the expand buttons of groups can receive focus; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowFocusGroups
LayoutControl
.OptionsFocus .AllowFocusGroups

Remarks

If the AllowFocusGroups property is set to true and the expand buttons of groups are visible, an end-user can focus the buttons through the TAB key. When the expand button is focused, pressing the Add and Subtract keys expands and collapses the current group respectively.

If the AllowFocusGroups property is set to false, pressing the TAB key only iterates through the controls displayed within the LayoutControl, and doesn’t move focus to the expand buttons.

By default a group’s expand button is hidden. To make it visible set the LayoutGroup.ExpandButtonVisible property to true.

See Also