Skip to main content
Bar

BarSplitCheckItem.GroupIndex Property

Gets or sets the item’s group index. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

[DefaultValue(-1)]
public int GroupIndex { get; set; }

Property Value

Type Default Description
Int32 -1

The item’s group index.

Remarks

Use the GroupIndex property to combine split check items into groups.

If the GroupIndex property equals -1 (default value), the BarSplitCheckItem does not belong to any group. Such items are checked\unchecked independently from other items within the same bar. BarSplitCheckItems with the GroupIndex property set to the same non-negative value act as a group. When a user clicks one of these items, it remains selected until another item belonging to the same group is clicked.

See Also