Class SummaryAggregateBase
Inheritance
Namespace: Syncfusion.Data
Assembly: Syncfusion.Data.Portable.dll
Syntax
public class SummaryAggregateBase : Object, ISummaryExpressionAggregate, ISummaryAggregate, ISummaryAdjustable, ISummaryAggregateForGroup, ISummaryParallelizable
Constructors
SummaryAggregateBase()
Declaration
public SummaryAggregateBase()
Properties
CanParallelize
Gets or sets a boolean value indicating whether to allow parallelize or not.
Declaration
public bool CanParallelize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether to allow parallelize or not. |
Methods
AdjustSummaryCalculation(Object, Object, Object, NotifyCollectionChangedAction, String, Int32)
Adjusts the summary calculation based on the given values.
Declaration
public virtual object AdjustSummaryCalculation(object currentValue, object oldValue, object newValue, NotifyCollectionChangedAction recordaction, string propertyName, int recordCount)
Parameters
Type | Name | Description |
---|---|---|
System.Object | currentValue | The current summary value. |
System.Object | oldValue | The old summary value. |
System.Object | newValue | The new summary value. |
System.Collections.Specialized.NotifyCollectionChangedAction | recordaction | The collection changed action. |
System.String | propertyName | The name of the property that is changed. |
System.Int32 | recordCount | The count of the records in the group. |
Returns
Type | Description |
---|---|
System.Object | Returns the modified value of the summary calculation based on the given values. |
CalculateAggregateExpressionFunc()
Calculates the aggregate expression func for the group.
Declaration
public virtual Action<IEnumerable, string, Expression<Func<string, object, object>>, PropertyDescriptor> CalculateAggregateExpressionFunc()
Returns
Type | Description |
---|---|
System.Action<System.Collections.IEnumerable, System.String, System.Linq.Expressions.Expression<System.Func<System.String, System.Object, System.Object>>, System.ComponentModel.PropertyDescriptor> | The aggregate expression func for the group. |
CalculateAggregateFunc()
Calculates the custom aggregate for the specified summary column.
Declaration
public virtual Action<IEnumerable, string, PropertyDescriptor> CalculateAggregateFunc()
Returns
Type | Description |
---|---|
System.Action<System.Collections.IEnumerable, System.String, System.ComponentModel.PropertyDescriptor> | The custom aggregate for the specified summary column. |
CalculateAggregateFuncForGroup()
Calculates the aggregate func for the group.
Declaration
public virtual Action<IEnumerable, string, PropertyDescriptor> CalculateAggregateFuncForGroup()
Returns
Type | Description |
---|---|
System.Action<System.Collections.IEnumerable, System.String, System.ComponentModel.PropertyDescriptor> | The aggregate func for the group. |