Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.CellRange Property

The explicit rectangular cell range this rule covers when Scope is grsCellRange.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem Type: TTMSFNCDataGridCellCoordRange

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
property CellRange: TTMSFNCDataGridCellCoordRange;
__property TTMSFNCDataGridCellCoordRange CellRange = {read=FCellRange, write=SetCellRange};

Remarks

Kept public rather than published because record-typed properties are not persisted by the form streamer; set it in code, or persist the four corner values individually through CellRangeStartColumn, CellRangeStartRow, CellRangeEndColumn and CellRangeEndRow. Assigning a range that differs from the current one notifies the collection.