Skip to main content
Table of Contents

TTMSFNCDataGridConditionalFormatting.Enabled Property

When False, no rule in the collection is evaluated and no formatting is applied. Default is True.

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

Syntax

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

Default: True

Remarks

Rules are kept while disabled, so this is the switch for toggling all conditional formatting at run time; changing it raises OnChange and repaints the grid. Individual rules are toggled with TTMSFNCDataGridFormatRuleItem.Enabled.