Bar

BarCheckItem.GroupIndex Property

Gets or sets the item's group index.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

[DefaultValue(-1)]
public int GroupIndex { get; set; }
<DefaultValue(-1)>
Public Property GroupIndex As Integer

Property Value

Type Default Description
Int32

-1

The item's group index.

Remarks

Use the GroupIndex property to combine check items into groups.

When a check item's GroupIndex property is set to -1, it behaves independently of all the other bar items. If several items have the GroupIndex property set to the same non-negative value, they are grouped together. When a user clicks one of these items, it remains selected until another item belonging to the same group is clicked.

Implements

DevExpress.Xpf.Bars.Native.IBarCheckItem.GroupIndex
See Also