Table of Contents

TTMSFNCDataGridConditionalFormatting.AddAverageRule Method

Adds a grtAverage rule that compares a column's values against the scope's mean.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridConditionalFormatting

Syntax

function AddAverageRule(AColumn: Integer; AKind: TTMSFNCDataGridAverageKind): TTMSFNCDataGridFormatRuleItem;

Parameters

Name Description
AColumn Zero-based column index the rule applies to.
AKind How the value is compared against the mean.

Returns

The newly added rule.