Table of Contents

TConditionalFormat Class

This class encapsulates a list of conditional formats for a range of cells.

Syntax

Namespace: FlexCel.Core

public class TConditionalFormat

Constructors

Name Description
TConditionalFormat Creates a new conditional format.

Methods

Name Description
CheckIsValid Checks if the format is valid. This check will be applied automatically when you try to add a conditional format to a sheet, so there is no need to call this method directly. But you can use it to know if a conditional format will be rejected when you try to add it.
Equals Returns true if both conditional formats are the same.
GetHashCode Returns the hashcode of the object

Properties

Name Description
Rules List of rules that will be applied to the cells.
Ranges List of cell ranges where this conditional format applies.
IsPivot If true, then this is a conditional format for a pivot table.