Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.ForEntireRow Method

Makes this rule highlight the entire row, evaluated against the value in one trigger column.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
function ForEntireRow(AValueColumn: Integer): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall ForEntireRow(int AValueColumn);

Remarks

Sets Scope to grsColumn, assigns Column, and enables ApplyToEntireRow. Aggregate statistics (rank, mean, duplicates) are still computed over the trigger column only.

Parameters

Name Description
AValueColumn The zero-based index of the column whose value drives the rule.

Returns

This rule, so further configuration calls can be chained.

Examples

Pascal
Grid.ConditionalFormatting.AddTopBottomRule(3, rkTop, 5).ForEntireRow(3).Highlight(gcHoneydew);