Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.AutoSizeRow Method

Resizes the given row to the height that fits its cell content, for example multi-line or word-wrapped text.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure AutoSizeRow(ARow: Integer; const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5);
void __fastcall AutoSizeRow(int ARow, const TTMSFNCDataGridAutoSizeMode AMode = (TTMSFNCDataGridAutoSizeMode)(0x1), const int APadding = 0x5);

Parameters

Name Description
ARow Zero-based row index to resize.
AMode Cells measured: gamAllCells (default) or gamVisibleCells.
APadding Extra pixels added to the measured content height. Default 5.