menu

WinForms

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

    Show / Hide Table of Contents

    Class DoubleAggregateSummary

    Summarizes System.Double fields. Provides Count, Minimum, Maximum, Sum, and Average.

    Inheritance
    System.Object
    SummaryBase
    DoubleAggregateSummary
    Implements
    ITreeTableSummary
    ICountAggregate
    IAverageAggregate
    Inherited Members
    SummaryBase.Info
    SummaryBase.ITreeTableSummary.Combine(ITreeTableSummary)
    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)
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public sealed class DoubleAggregateSummary : SummaryBase, ITreeTableSummary, ICountAggregate, IAverageAggregate

    Constructors

    DoubleAggregateSummary(Int32, Double, Double, Double)

    Initializes a new instances of DoubleAggregateSummary class with the specified values.

    Declaration
    public DoubleAggregateSummary(int count, double minimum, double maximum, double sum)
    Parameters
    Type Name Description
    System.Int32 count

    The Count value.

    System.Double minimum

    The Minimum value.

    System.Double maximum

    The Maximum value.

    System.Double sum

    The Sum value.

    Fields

    Empty

    The initial summary object for empty records or tables.

    Declaration
    public static readonly DoubleAggregateSummary Empty
    Field Value
    Type
    DoubleAggregateSummary

    Properties

    Average

    Gets the average.

    Declaration
    public double Average { get; }
    Property Value
    Type
    System.Double

    Count

    Gets the count.

    Declaration
    public int Count { get; }
    Property Value
    Type
    System.Int32

    Maximum

    Gets the maximum.

    Declaration
    public double Maximum { get; }
    Property Value
    Type
    System.Double

    Minimum

    Gets the minimum.

    Declaration
    public double Minimum { get; }
    Property Value
    Type
    System.Double

    Sum

    Gets the sum.

    Declaration
    public double Sum { get; }
    Property Value
    Type
    System.Double

    Methods

    Combine(DoubleAggregateSummary)

    Combines the values of this summary with another summary and returns a new summary object.

    Declaration
    public DoubleAggregateSummary Combine(DoubleAggregateSummary other)
    Parameters
    Type Name Description
    DoubleAggregateSummary other

    Another summary object (of the same type).

    Returns
    Type Description
    DoubleAggregateSummary

    A new summary object with combined values of both summaries.

    Combine(SummaryBase)

    Override to combine 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
    SummaryBase.Combine(SummaryBase)

    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 DoubleAggregateSummary class.

    CreateSummaryMethod(SummaryDescriptor, Record)

    Creates a summary object of ITreeTableSummaryfor 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

    String representation of the current object.

    Overrides
    System.Object.ToString()

    Implements

    ITreeTableSummary
    ICountAggregate
    IAverageAggregate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved