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

TcxCustomColorComboBoxProperties.CustomColors Property

Provides access to the list of items, which represent custom colors within the color combo box.

#Declaration

Delphi
property CustomColors: TcxColorComboBoxItems read; write;

#Property Value

Type
TcxColorComboBoxItems

#Remarks

All the items added to the Items collection either by you (at design time or programmatically) or by end-users represent custom colors and can be accessed via the CustomColors property. At design time, adding items to the CustomColors collection results in these items being added to the Items collection when the color combo box is initialized.

Note

Set the AllowSelectColor property to True to let end-users add custom colors to the list at runtime. You can specify whether each selected color should be added to the list by handling the OnSelectCustomColor event.

The CustomColors property like the Items property is represented by the TcxColorComboBoxItems object, a TCollection descendant. You can use the properties and methods of this object to traverse through items and manage the list. Please refer to the TcxColorComboBoxItems class description for details.

See Also