TTMSFNCCustomDataGrid.AutoSizeRows Method
Resizes every row to the height that fits its cell content.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
procedure AutoSizeRows(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5);
void __fastcall AutoSizeRows(const TTMSFNCDataGridAutoSizeMode AMode = (TTMSFNCDataGridAutoSizeMode)(0x1), const int APadding = 0x5);
Parameters
| Name | Description |
|---|---|
AMode |
Cells measured: gamAllCells (default) or only the cells currently on screen. |
APadding |
Extra pixels added to each measured row height. Default 5. |