Class SummaryBase
This is an abstract class that defines the necessary functionality to do PivotCalculations.
Inheritance
System.Object
SummaryBase
Namespace: Syncfusion.PivotAnalysis.Base
Assembly: Syncfusion.PivotAnalysis.Base.dll
Syntax
public abstract class SummaryBase : Object
Constructors
SummaryBase()
Declaration
protected SummaryBase()
Properties
ShowNullAsBlank
Gets or sets whether the Pivot control should display null value as blank instead of 0 (which is the default behavior).
Declaration
public bool ShowNullAsBlank { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Combine(Object)
Use this method to combine a value from an object in the Pivot control data source with the accumulation values held in this instance.
Declaration
public abstract void Combine(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other | The value to be included in the computation. |
CombineSummary(SummaryBase)
Use this method to combine another SummaryBase object with the accumulation values held in this instance.
Declaration
public abstract void CombineSummary(SummaryBase other)
Parameters
Type | Name | Description |
---|---|---|
SummaryBase | other | The other SummaryBase object. |
GetInstance()
Provides a new instance of this SummaryBase object.
Declaration
public abstract SummaryBase GetInstance()
Returns
Type | Description |
---|---|
SummaryBase | New instance of this SummaryBase. |
GetResult()
Returns the calculation value.
Declaration
public abstract object GetResult()
Returns
Type | Description |
---|---|
System.Object | The calculation value. |
Reset()
Resets all internal values so the calculations begins as new.
Declaration
public abstract void Reset()