Table of Contents

TConditionalFormatRule.TConditionalFormatRule Constructor

Creates a new instance of TConditionalFormatRule, with the corresponding Format definition.

Syntax

Namespace: FlexCel.Core

protected TConditionalFormatRule(TConditionalFormatKind aKind, Int32 aPriority, Boolean aStopIfTrue)

Parameters

<-> Parameter Type Description
aKind TConditional​Format​Kind Kind of conditional rule this instance contains.
aPriority Int32 Priority of the rule. 1 means highest priority, and rules with higher numbers will be evaluated later.
Note that priorities must be unique on the sheet. If you specify a duplicated priority, all other priorities might be shifted when you save the file so they keep being unique.
aStopIfTrue Boolean Only valid on Excel 2007 or newer, and it doesn't apply to DataBars, IconSets or ColorScales.
If true, no more conditional format rules after this one will be applied if this rule applies.

See also