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

TcxColorComboBoxItems.Items Property

Provides indexed access to items displayed by the color combo box.

#Declaration

Delphi
property Items[Index: Integer]: TcxColorComboBoxItem read; write; default;

#Property Value

Type
TcxColorComboBoxItem

#Remarks

Use the Items property to access an individual item within the color combo box. The Index parameter specifies the index of the item to be obtained. Item indexes are zero-based. If the specified index is either negative or exceeds the last available item index, an exception is raised. The index of the last available item is the Count property value decremented by one.

Note that you can omit the Items property since it is the default property for the TcxColorComboBoxItems class.

If you need to get the color of an item specified by its index or vice versa, consider using the GetColorByIndex and GetIndexByColor methods.

See Also