TTMSFNCDataGridFormatRuleItem.ForCellRange Method
Scopes this rule to a rectangular cell range.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridFormatRuleItem
Syntax
function ForCellRange(AStartColumn, AStartRow, AEndColumn, AEndRow: Integer): TTMSFNCDataGridFormatRuleItem;
Remarks
Sets Scope to grsCellRange, assigns the four CellRange* corner properties, and clears ApplyToEntireRow.
Parameters
| Name | Description |
|---|---|
AStartColumn |
The zero-based column of the range's top-left cell. |
AStartRow |
The zero-based row of the range's top-left cell. |
AEndColumn |
The zero-based column of the range's bottom-right cell. |
AEndRow |
The zero-based row of the range's bottom-right cell. |
Returns
This rule, so further configuration calls can be chained.