Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.Enabled Property

When False, the rule is skipped during evaluation. Default is True.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem Type: Boolean

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
property Enabled: Boolean;
__property bool Enabled = {read=FEnabled, write=SetEnabled, default=1};

Default: True

Remarks

Disabling a rule keeps all its settings, so it can be toggled at run time without rebuilding it. To switch off every rule at once use TTMSFNCDataGridConditionalFormatting.Enabled.