Class ConditionalFormatSettings
Allows a collection of values fields to change the appearance of the pivot table value cells with different style properties such as background color, font color, font family, and font size based on specific conditions.
Inheritance
Inherited Members
Namespace: Syncfusion.EJ2.Pivot
Assembly: Syncfusion.EJ2.Pivot.dll
Syntax
public class ConditionalFormatSettings
Constructors
ConditionalFormatSettings()
Declaration
public ConditionalFormatSettings()
Properties
ApplyGrandTotals
Allows to apply conditional formatting to the grand totals of row and column axis in the pivot table.
Declaration
public bool ApplyGrandTotals { get; set; }
Property Value
Type |
---|
System.Boolean |
Conditions
Allows you to choose the operator type such as equals, greater than, less than, etc. for conditional formatting.
Declaration
public Condition Conditions { get; set; }
Property Value
Type |
---|
Condition |
Label
Allows to set the header text of a specific row/column field to apply conditional formatting.
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
Measure
Allows to set the value field name to apply conditional formatting.
Declaration
public string Measure { get; set; }
Property Value
Type |
---|
System.String |
Style
Allows to set the custom styles for the formatting applied values in the pivot table.
Declaration
public Style Style { get; set; }
Property Value
Type |
---|
Style |
Value1
Allows you to set the start value for applying conditional formatting.
Declaration
public double Value1 { get; set; }
Property Value
Type |
---|
System.Double |
Value2
Allows you to set the end value for applying conditional formatting.
This option will be used by default when the operator Between and NotBetween is chosen to apply.
Declaration
public double Value2 { get; set; }
Property Value
Type |
---|
System.Double |