Table of Contents

TTMSFNCDataGridConditionalFormatting.AddExpressionRule Method

Adds a grtExpression rule that matches rows for which a boolean expression evaluates to true.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridConditionalFormatting

Syntax

function AddExpressionRule(const AExpression: string): TTMSFNCDataGridFormatRuleItem;

Parameters

Name Description
AExpression The boolean expression evaluated against each row.

Returns

The newly added rule.