Table of Contents

TTMSFNCDataGridRenderer.AutoSizeRow Method

Resizes the given row to the minimum height that fits all cell content.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

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

Parameters

Name Description
ARow Zero-based row index to resize.
AMode Cell scope used when measuring the required height.
APadding Extra pixels added to the measured content height.