TTMSFNCDataGridConditionalFormatting.AddIconSet Method
Adds a
grtIconSetrule that paints a threshold-based icon over a column's values.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridConditionalFormatting
Syntax
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.