Skip to main content

TcxColorComboBoxItems.Items Property

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

Declaration

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