Class GridDataSummaryColumn
Pre-defined summary types to be used in GridDataSummaryColumn.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataSummaryColumn : DependencyObject, ISummaryColumn
Constructors
GridDataSummaryColumn()
Initializes a new instance of the GridDataSummaryColumn class.
Declaration
public GridDataSummaryColumn()
Fields
AggregateColumnProperty
Declaration
public static readonly DependencyProperty AggregateColumnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ColumnStyleProperty
DependencyProperty for ColumnStyle property.
Declaration
public static readonly DependencyProperty ColumnStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CustomAggregateProperty
DependencyProperty for CustomAggregate.
Declaration
public static readonly DependencyProperty CustomAggregateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MappingNameProperty
DependencyProperty for MappingName property.
Declaration
public static readonly DependencyProperty MappingNameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NameProperty
DependencyProperty for Name property.
Declaration
public static readonly DependencyProperty NameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SummaryTypeProperty
DependencyProperty for SummaryType property.
Declaration
public static readonly DependencyProperty SummaryTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AggregateColumn
Gets / Sets the Aggregate column for computing aggregates. This property would take first precedence from the MappingName.
Declaration
public string AggregateColumn { get; set; }
Property Value
Type |
---|
System.String |
ColumnStyle
Gets or sets the column style.
Declaration
public GridDataStyleInfo ColumnStyle { get; set; }
Property Value
Type | Description |
---|---|
GridDataStyleInfo | The column style. |
CustomAggregate
Gets or sets the custom aggregate. Should implement Syncfusion.Windows.Data.ISummaryAggregate interface to delegate the custom summaries.
Declaration
public ISummaryAggregate CustomAggregate { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Windows.Data.ISummaryAggregate | The custom aggregate. |
Format
Gets or sets the Format property. Format should be set within single quotes,
column.Format = '{Sum:##.00}'
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
MappingName
Gets or sets the MappingName for the underlying source that is bound to GridDataControl.
Declaration
public string MappingName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the mapping. |
Name
Gets or sets the name. This should be a unique identity for the GridDataSummaryColumn.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
SummaryType
Gets or sets the type of the summary. Specify SummaryType.Custom to include custom summary aggregation.
Declaration
public SummaryType SummaryType { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Windows.Data.SummaryType | The type of the summary. |