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.DataIndex Property

Selects a list item at runtime.

#Declaration

Delphi
property DataIndex: Integer read; write;

#Property Value

Type
Integer

#Remarks

The property value corresponds to the item number in the list. 0 corresponds to the first list item. If no item is selected, the value is -1. The DataIndex property works similar to the ItemIndex property but if item text is equal to dash “-“, it is not considered when calculating the DataIndex.

See Also