Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomRadioGroup.ItemIndex Property

Indicates which radio button in the group is currently selected.

#Declaration

Delphi
property ItemIndex: Integer read; write; default -1;

#Property Value

Type
Integer

#Remarks

The ItemIndex property contains the zero-based index of the selected radio button. The radio group item representing the selected button can be obtained by this index using the Items property.

The value of ItemIndex property changes at runtime as the user selects radio buttons. If you want one of the buttons to appear selected when the application starts, assign that button index to the ItemIndex property at design time; otherwise, leave the ItemIndex property set to the default value of -1, which means that no button is selected.

The default value of the ItemIndex property is -1.

See Also