Table of Contents

TTMSFNCDataGridRenderer.AutoSizeRows Method

Auto-sizes every row to fit its content.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

procedure AutoSizeRows(const AMode: TTMSFNCDataGridAutoSizeMode = gamAllCells; const APadding: Integer = 5);

Parameters

Name Description
AMode Cell scope used when measuring each row.
APadding Extra pixels added to each measured content height.