Back to Devexpress

TdxDBColorGallery.ColorPalette Property

vcl-dxdbcolorgallery-dot-tdxdbcolorgallery-5ff831c8.md

latest1.4 KB
Original Source

TdxDBColorGallery.ColorPalette Property

Specifies the color palette displayed in the color gallery control.

Declaration

delphi
property ColorPalette; default cpOffice;

Property Value

TypeDefault
TdxColorPalettecpOffice

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

TdxDBColorGallery Class

TdxDBColorGallery Members

dxDBColorGallery Unit