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

TdxBarListItem.ItemIndex Property

Specifies the index of a selected item in a list.

#Declaration

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

#Property Value

Type
Integer

#Remarks

Use this property to select a list item at runtime. The property value corresponds to the item number in the list. The ItemIndex property value of the first list item is 0. If no item is selected, the value is -1.

See Also