Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.ForColumn Method

Scopes this rule to a single column.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
function ForColumn(AColumn: Integer): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall ForColumn(int AColumn);

Remarks

Sets Scope to grsColumn, assigns Column, and clears ApplyToEntireRow.

Parameters

Name Description
AColumn The zero-based index of the column the rule applies to. Negative values are clamped to 0.

Returns

This rule, so further configuration calls can be chained.