Skip to main content
Table of Contents

TTMSFNCDataGridCore.ColumnPositions Property

Unscrolled horizontal offset of the column's left edge, measured from the left edge of column 0.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore Type: Double

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
property ColumnPositions[AColumn: Integer]: Double;
__property double ColumnPositions[int AColumn] = {read=GetColumnPosition};

Remarks

The sum of the widths of all preceding columns (fixed columns included, hidden columns counting as 0). The value is computed on first access and cached until the next layout recalculation. It does not include the scroll position; subtract the horizontal scroll offset to get the on-screen position of a scrollable column.