Skip to main content

TcxCustomGridTableItem.BestFitMaxWidth Property

Specifies the item’s (column) maximum width value (in pixels) for the best fit.

Declaration

property BestFitMaxWidth: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

This property value limits the maximum column width that is applied by calling the ApplyBestFit procedure. If the BestFitMaxWidth property is set to 0, the ApplyBestFit procedure calculates new item widths automatically.

The BestFitMaxWidth property automatically updates its value by multiplying it by the DPI-aware form’s scaling factor every time it changes.

The default value of the BestFitMaxWidth property is 0.

See Also