Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.GetCellSize Method

Returns the size of a cell, including the full span when the cell is merged.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function GetCellSize(ACell: TTMSFNCDataGridCellCoord): TSizeF;
System::Types::TSizeF __fastcall GetCellSize(const TTMSFNCDataGridCellCoord &ACell);

Parameters

Name Description
ACell The cell coordinate to measure; a merged cell is resolved to its base cell first.

Returns

Width (sum of spanned column widths) and height (sum of spanned row heights).