Skip to main content

TdxColorDialog Class

A color editor dialog component.

Declaration

TdxColorDialog = class(
    TdxCustomColorDialog
)

Remarks

TdxColorDialog is an advanced DevExpress counterpart for the standard TColorEditor component shipped with the VCL library.

VCL Editors: A Color Editor Dialog Example

Design-Time Component Functionality

To preview the Color Dialog at design time and test its behavior with current settings, double-click the TdxColorDialog component on the form.

Main API Members

The list below outlines key members of the TdxColorDialog class.

Dialog Management APIs

Execute
Displays the Color Editor dialog.
Handle
Returns the Color Editor dialog’s window handle.
OnShow | OnClose
Allow you to execute custom code in response to Color Editor dialog open and close operations.

User Interaction Options

Options
Provides access to end-user functionality options.
Color
Specifies the selected color.
CustomColors
Allows you to manage colors displayed in the Custom Colors gallery.
OnGetBasicColors
Allows you to populate the Basic Colors gallery with custom colors.

General-Purpose API Members

Assign
Copies settings between color dialog components.
LookAndFeel
Allows you to override global skin and palette settings for the Color Editor dialog at the component level.
See Also