Skip to main content

TcxCustomColorComboBoxProperties.ColorDialogType Property

Specifies the color editor dialog to be used to select custom colors.

Declaration

property ColorDialogType: TcxColorDialogType read; write; default cxcdtDefault;

Property Value

Type Default
TcxColorDialogType cxcdtDefault

Remarks

End-users are allowed to add custom colors to the list when the AllowSelectColor property is set to True. In this instance, a color combo box displays the ellipsis button that invokes the color editor dialog.

Possible ColorDialogType property values include:

Value Description Example
cxcdtDefault The standard VCL color editor dialog. When the dialog is closed, the OnSelectCustomColor event fires, enabling you to modify the dialog’s behavior.
cxcdtAdvanced The DevExpress color editor dialog, which provides the same functionality as the standard dialog and in addition supports the appearance settings via the color combo box’s LookAndFeel property. The OnSelectCustomColor event fires when the DevExpress color editor dialog is closed, enabling you to change its default behavior.
cxcdtCustom In this instance, clicking the ellipsis button fires the OnSelectCustomColor event instead of invoking a color editor dialog. You can handle it to provide a custom color editor dialog. Refer to the Creating Custom Color Editing Dialogs topic to learn more.

The default value of the ColorDialogType property is cxcdtDefault.

See Also