Skip to main content

IButtonProperties.GroupIndex Property

Gets or sets a group index for the current IButton object.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[DXCategory("Appearance")]
int GroupIndex { get; set; }

Property Value

Type Description
Int32

An Int32 value that is the group index for the current IButton object. The default value is -1.

Remarks

Header Buttons and WindowsUI Custom Buttons, depending on the IButtonProperties.Style property value, can be either regular (push) buttons or check buttons. For all check buttons, the GroupIndex property is available. Check custom header buttons with the default GroupIndex property value of -1 act as simple check buttons. If the GroupIndex property value differs from the default value, a custom button acts as a group radio button. All group radio buttons with the same GroupIndex property value are united in the single group. See the Header Buttons topic for more info.

See Also