Skip to main content
Table of Contents

TTMSFNCDataGridConditionalFormatting.AddIconSet Method

Adds a grtIconSet rule that paints a threshold-based icon over a column's values.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridConditionalFormatting

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
function AddIconSet(AColumn: Integer; AKind: TTMSFNCDataGridIconSetKind): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall AddIconSet(int AColumn, TTMSFNCDataGridIconSetKind AKind);

Remarks

The column's numeric range is split into equal-width bands, one per icon; set TTMSFNCDataGridIconSetSettings.Reverse through TTMSFNCDataGridFormatRuleItem.IconSet when low values are good.

Parameters

Name Description
AColumn Zero-based column index the rule applies to.
AKind The predefined icon family to use.

Returns

The newly added rule, owned by the collection.