Back to Devexpress

TdxDBColorGallery.AutoSizeMode Property

vcl-dxdbcolorgallery-dot-tdxdbcolorgallery-2244a440.md

latest1.5 KB
Original Source

TdxDBColorGallery.AutoSizeMode Property

Specifies the color gallery control’s size adjustment mode.

Declaration

delphi
property AutoSizeMode; default asAutoSize;

Property Value

TypeDefault
TdxAutoSizeModeasAutoSize

Remarks

Use this property to adjust the color gallery control’s dimensions according to the current size of its content. If the AutoSizeMode property is set to asNone , you can use the control’s Width and Height properties to customize the control’s dimensions regardless of its content size depending on the ColorPalette and ColumnCount property values. The color gallery displays the horizontal and/or vertical scrollbar(s) if all the color samples do not fit into the client area when the AutoSizeMode property is not set to asAutoSIze.

For the full list of available color gallery sizing modes, refer to the TdxAutoSizeMode type description.

The default value of the AutoSizeMode property is asAutoSize.

See Also

TdxDBColorGallery Class

TdxDBColorGallery Members

dxDBColorGallery Unit