Class PivotViewConditionalFormatSettingBuilder
Inheritance
System.Object
PivotViewConditionalFormatSettingBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
public class PivotViewConditionalFormatSettingBuilder : ControlBuilder
Constructors
Declaration
public PivotViewConditionalFormatSettingBuilder()
Declaration
public PivotViewConditionalFormatSettingBuilder(List<PivotViewConditionalFormatSetting> collection)
Parameters
Methods
Declaration
Allows to apply conditional formatting to the grand totals of row and column axis in the pivot table.
Declaration
public PivotViewConditionalFormatSettingBuilder ApplyGrandTotals(bool applyGrandTotals)
Parameters
Type |
Name |
Description |
System.Boolean |
applyGrandTotals |
|
Returns
Allows you to choose the operator type such as equals, greater than, less than, etc. for conditional formatting.
Declaration
public PivotViewConditionalFormatSettingBuilder Conditions(Condition conditions)
Parameters
Returns
Allows to set the header text of a specific row/column field to apply conditional formatting.
Declaration
public PivotViewConditionalFormatSettingBuilder Label(string label)
Parameters
Type |
Name |
Description |
System.String |
label |
|
Returns
Allows to set the value field name to apply conditional formatting.
Declaration
public PivotViewConditionalFormatSettingBuilder Measure(string measure)
Parameters
Type |
Name |
Description |
System.String |
measure |
|
Returns
Allows to set the custom styles for the formatting applied values in the pivot table.
Declaration
public PivotViewConditionalFormatSettingBuilder Style(PivotViewStyle style)
Parameters
Returns
Declaration
public PivotViewConditionalFormatSettingBuilder Style(Action<PivotViewStyleBuilder> style)
Parameters
Returns
Allows you to set the start value for applying conditional formatting.
Declaration
public PivotViewConditionalFormatSettingBuilder Value1(double value1)
Parameters
Type |
Name |
Description |
System.Double |
value1 |
|
Returns
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 PivotViewConditionalFormatSettingBuilder Value2(double value2)
Parameters
Type |
Name |
Description |
System.Double |
value2 |
|
Returns