Skip to main content

TdxDBColorGallery.AutoSizeMode Property

Specifies the color gallery control’s size adjustment mode.

Declaration

property AutoSizeMode; default asAutoSize;

Property Value

Type Default
TdxAutoSizeMode asAutoSize

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