TTMSFNCDataGridConditionalFormatting.AddExpressionHighlight Method
Adds a
grtExpressionrule with the fill and font colour already applied.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridConditionalFormatting
Syntax
function AddExpressionHighlight(const AExpression: string; AFillColor: TTMSFNCGraphicsColor; ATextColor: TTMSFNCGraphicsColor = gcNull): TTMSFNCDataGridFormatRuleItem;
Parameters
| Name | Description |
|---|---|
AExpression |
The boolean expression evaluated per row. |
AFillColor |
The background colour applied to a matching cell. |
ATextColor |
The text colour applied to a matching cell. |
Returns
The newly added rule.