Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDBColorGallery.AutoSizeMode Property

Specifies the color gallery control’s size adjustment mode.

#Declaration

Delphi
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