Class GridSummaryColumn
Represents a class that defines the summary information of summary column.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GridSummaryColumn : ISummaryColumn
Constructors
GridSummaryColumn()
Initializes a new instance of the GridSummaryColumn class.
Declaration
public GridSummaryColumn()
Properties
CustomAggregate
Gets or sets a instance of ISummaryAggregate to implement the custom summary.
Declaration
public ISummaryAggregate CustomAggregate { get; set; }
Property Value
Type | Description |
---|---|
ISummaryAggregate | An instance of ISummaryAggregate. The default value is null. |
Format
Gets or sets a string that indicates how the summary value is formatted in display.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the format of summary value.The default value is |
MappingName
Gets or sets a corresponding
Declaration
public string MappingName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the valid mapping name of column. The default value is |
Name
Gets or sets a name of summary column.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the name of the summary column. The default value is |
Remarks
The name of the summary column and Title should be same for displaying summary value with title.
SummaryType
Gets or sets a aggregate type for summary calculation.
Declaration
public SummaryType SummaryType { get; set; }
Property Value
Type | Description |
---|---|
SummaryType | One of the SummaryType enumeration to specifies the aggregate type for summary calculation. The default value is CountAggregate. |