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

TdxCustomColorDialog.CustomColors Property

Specifies a set of custom colors available in the color editor dialog.

#Declaration

Delphi
property CustomColors: TStrings read; write;

#Property Value

Type
TStrings

#Remarks

This property stores custom colors as strings. The string format is ColorX=BBGGRR (ColorX=AABBGGRR if the Options.ColorPicker.AllowEditAlpha property is set to True), where X ranges from A to P and the color value is represented by a hexadecimal color code.

At design time, you can customize the string list stored by the CustomColors property using the standard VCL string editor. To open it, switch to the Object Inspector and click the ellipsis button next to the CustomColors property. The following image shows the string editor populated with sample strings that are compatible with the Options.ColorPicker.AllowEditAlpha property set to True.

Note

Set the Options.AllowEditColor property to True to allow end-users to add custom colors to the set at runtime.

See Also