TdxListColumn.ApplyBestFit(Boolean) Method
Adjusts the width of the column to display its content in full.
Declaration
procedure ApplyBestFit(AVisibleItemsOnly: Boolean = False);
Parameters
Name | Type | Description |
---|---|---|
AVisibleItemsOnly | Boolean | If False, the procedure calculates the column width by the widest content in the entire column. If True, the procedure calculates the column width by the widest content in the List View control’s client area. |
Remarks
Note
An ApplyBestFit procedure call raises the control’s OnColumnSizeChanged event if the call changes the column’s width.
See Also