Skip to main content

Color Editor

  • 2 minutes to read

The DevExpress Color Editor dialog (TdxColorDialog) offers color selection functionality similar to that found in the system Color dialog and standard VCL TColorDialog component, and in addition, provides support for ExpressSkins and alpha channel information. The Color Editor dialog allows end-users to pick a color using the following options:

Color Editor

Use the Options.AllowEditColor and Options.ColorPicker.DefaultVisible properties to control the availability and visibility of the color picker. In addition, you can customize its appearance and functionality via the Options.ColorPicker property set. As with the color picker, the Color Editor dialog stores the color as a TdxAlphaColor value in the Color property.

At design time, you can click “Test Dialog” in the Color Editor dialog’s context menu to preview the dialog and test its functionality. To invoke the dialog at runtime, call its Execute method.

The table below lists TdxColorDialog members and resource strings that affect the characteristics of the color editor dialog:

Contents

The Options property set, Color, and CustomColors properties, and the DefaultBasicColors constant, and the OnGetBasicColors event.

Appearance

The LookAndFeel property.

Behavior

The OnClose and OnShow events.