TdxCustomColorDialog Class
Serves as the base class for classes that implement color editor dialogs.
Declaration
TdxCustomColorDialog = class(
TcxCustomComponent,
IcxLookAndFeelContainer,
IdxSkinSupport
)
Remarks
This class is the ancestor of the TdxColorDialog component, representing a color editor dialog. TdxCustomColorDialog implements all the functionality needed by its descendant. TdxColorDialog simply publishes certain properties and events.
The TdxCustomColorDialog component provides a set of options with which you can customize the appearance of the dialog and capabilities available to end-users:
Invoke the dialog and respond to visibility changes (Execute, OnShow, and OnClose);
Specify the color picker‘s accessibility to end-users and the visibility of its UI elements (Options);
Obtain or set the selected color and alpha value (Color);
Customize the basic color and custom color sets (OnGetBasicColors and CustomColors);
Apply a skin or look & feel style (LookAndFeel).
In addition to the color editing capabilities found in the system Color dialog and standard VCL TColorDialog component, the TdxCustomColorDialog component provides support for skins and alpha channel information. TdxCustomColorDialog includes the color picker implemented by the TdxColorPicker component.
To preview the dialog and test its settings at design time, click “Test Dialog” in the TdxCustomColorDialog component’s context menu.
A TdxCustomColorDialog object is referenced via the TdxColorDialog class.