Class CharAggregateSummary
Summarizes Byte fields. Provides Count, Minimum, Maximum.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class CharAggregateSummary : SummaryBase, ITreeTableSummary, ICountAggregate
Constructors
CharAggregateSummary(Int32, Char, Char)
Initializes a new instance of CharAggregateSummary class with the specified values.
Declaration
public CharAggregateSummary(int count, char minimum, char maximum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | The Count value. |
System.Char | minimum | Minimum value. |
System.Char | maximum | Maximum value. |
Fields
Empty
The initial summary object for empty records or tables.
Declaration
public static readonly CharAggregateSummary Empty
Field Value
Type |
---|
CharAggregateSummary |
Properties
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Maximum
Gets the maximum.
Declaration
public char Maximum { get; }
Property Value
Type |
---|
System.Char |
Minimum
Gets the minimum.
Declaration
public char Minimum { get; }
Property Value
Type |
---|
System.Char |
Methods
Combine(CharAggregateSummary)
Combines the values of this summary with another summary and returns a new summary object.
Declaration
public CharAggregateSummary Combine(CharAggregateSummary other)
Parameters
Type | Name | Description |
---|---|---|
CharAggregateSummary | other | Another summary object (of the same type). |
Returns
Type | Description |
---|---|
CharAggregateSummary | A new summary object with combined values of both summaries. |
Combine(SummaryBase)
Combines the values of this summary with another summary and returns a new summary object.
Declaration
public override SummaryBase Combine(SummaryBase other)
Parameters
Type | Name | Description |
---|---|---|
SummaryBase | other | Another summary object. |
Returns
Type | Description |
---|---|
SummaryBase | A new summary object with combined values of both summaries. |
Overrides
CreatePageSummaryMethod(SummaryDescriptor, Record)
Used to interface with the page summary.
Declaration
public static ITreeTableSummary CreatePageSummaryMethod(SummaryDescriptor sd, Record record)
Parameters
Type | Name | Description |
---|---|---|
SummaryDescriptor | sd | Summary descriptor. |
Record | record | Record values. |
Returns
Type | Description |
---|---|
ITreeTableSummary | An instance of the CharAggregateSummary class. |
CreateSummaryMethod(SummaryDescriptor, Record)
Creates a summary object for the specified SummaryDescriptor and Record.
Declaration
public static ITreeTableSummary CreateSummaryMethod(SummaryDescriptor sd, Record record)
Parameters
Type | Name | Description |
---|---|---|
SummaryDescriptor | sd | The summary descriptor. |
Record | record | The record with data. |
Returns
Type | Description |
---|---|
ITreeTableSummary | A new summary object. |
ToString()
Returns string representation of the summary object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string holding the summary value. |