Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.Layouts Property

Returns the cell-level TTMSFNCDataGridCellLayout for the given cell, creating it on first access.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer Type: TTMSFNCDataGridCellLayout

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
property Layouts[AColumn, ARow: Integer]: TTMSFNCDataGridCellLayout;
__property TTMSFNCDataGridCellLayout* Layouts[int AColumn][int ARow] = {read=GetLayout};

Remarks

When the cell has no layout yet, reading this property creates one initialised from the current appearance, so HasLayout becomes True. Test with HasLayout when you only want to inspect. The layout is owned by the cell; changes repaint the grid. Use RemoveLayout to return to the column and global appearance.

Returns nil only for coordinates without cell data.