Skip to main content

TdxCustomColorPicker Class

Serves as the base class for classes that implement color pickers.

Declaration

TdxCustomColorPicker = class(
    TcxControl
)

Remarks

This class is the ancestor of the TdxColorPicker component, representing a color picker. TdxCustomColorPicker implements all the functionality needed by its descendant, which primarily publishes certain properties and events. Refer to the Color Picker topic to learn about the color picker component.

TdxCustomColorPicker provides a set of members that allow you to do the following:

  • Specify the visibility of UI elements, including the gamut and preview boxes, the Lightness, Hue, Alpha sliders and editors, etc. (OptionsView);

  • Obtain or set the selected color and alpha value (Color);

  • Respond to color selection changes (OnColorChanged);

  • Apply a skin or look & feel style (LookAndFeel).

See Also