menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SummaryAggregateBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SummaryAggregateBase

    Class that contains the methods and properties for all the aggregation calculations. It serves as the base for all the aggregators.

    Inheritance
    System.Object
    SummaryAggregateBase
    Implements
    ISummaryExpressionAggregate
    ISummaryAggregate
    ISummaryAdjustable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Data
    Assembly: Syncfusion.Data.WPF.dll
    Syntax
    public class SummaryAggregateBase : 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.

    Implements

    ISummaryExpressionAggregate
    ISummaryAggregate
    ISummaryAdjustable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved