Back to Devexpress

TdxColorGallery.AutoSizeMode Property

vcl-dxcolorgallery-dot-tdxcolorgallery.md

latest1020 B
Original Source

TdxColorGallery.AutoSizeMode Property

Specifies the color gallery’s auto-size mode.

Declaration

delphi
property AutoSizeMode; default asAutoSize;

Property Value

TypeDefault
TdxAutoSizeModeasAutoSize

Remarks

Use this property in combination with the ColorPalette and/or ColumnCount property to automatically keep the minimum size required to entirely display the color gallery’s contents in various palette layouts.

Refer to the TdxAutoSizeMode type description to learn about available AutoSizeMode property values.

The default value of the AutoSizeMode property is asAutoSize.

See Also

TdxColorGallery Class

TdxColorGallery Members

dxColorGallery Unit