Table of Contents

TTMSFNCDataGrid.AutoSizeRow Method

Resizes the specified row to fit its tallest content.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

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

Parameters

Name Description
ARow Zero-based row index to resize.
AMode Determines which cells are measured.
APadding Extra padding in pixels added beyond the measured content height.