Skip to main content

TdxDBColorGallery.ColorPalette Property

Specifies the color palette displayed in the color gallery control.

Declaration

property ColorPalette; default cpOffice;

Property Value

Type Default
TdxColorPalette cpOffice

Remarks

Use this property to choose one of the available color palettes. The selected color palette (and optionally, the ColumnCount property value if the cpExtended or cpStandard palette is selected) affects the color gallery content size. The control’s dimensions are automatically adjusted to fit its content if the AutoSizeMode property is set to asAutoSize.

You can populate the selected palette with one of the built-in color sets or create a custom color palette.

For detailed information on available color palettes, refer to the TdxColorPalette type description.

The default value of the ColorPalette property is cpOffice.

See Also