Create(TdxSpreadSheetCustomConditionalFormatting) Constructor
Creates a new threshold-based conditional formatting rule in the specified conditional formatting controller.
Declaration
constructor Create(AOwner: TdxSpreadSheetCustomConditionalFormatting); override;
Parameters
Name | Type | Description |
---|---|---|
AOwner | TdxSpreadSheetCustomConditionalFormatting | A conditional formatting controller. |
Remarks
Call this constructor to create a “Two Color Scale“, “Three Color Scale“, “Data Bar“, or “Icon Set“ rule in a conditional formatting controller passed as the AOwner parameter. Each descendant of the TdxSpreadSheetConditionalFormattingRuleCustomScale class overrides the Create constructor to inintialize rule-specific properties.
The Create constructor creates an empty threshold list and calls the inherited constructor to create an empty list of cell ranges affected by the rule.
To delete the rule, pass it as the ARule parameter of the conditional formatting controller’s Remove procedure.
See Also