AutoSize: Boolean;
The AutoSize property determines whether the width of the column is changed automatically depending on the component width.
Available values:
True. On changing the width of other columns, the width of the current column is changed automatically in such a way that all columns are moved to the component area, and the horizontal scrollbar is hidden if possible. In this case component work is provided when considering the following conditions:
If the AutoSize = True property is set for several columns, their width is changed proportionally.
If total width of other columns is greater than the component area, the zero width is determined for the columns with the set AutoSize. In this case the horizontal scrollbar may be displayed.
On manual of automatic changing of the current column width, value of the AutoSize property is not reset. The width is automatically calculated on the next changing of width of any column, for which AutoSize = False.
False. The column will have the width determined in the Width property or set manually.
See also: