menu

WinForms

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

    Show / Hide Table of Contents

    Class DistinctCountSummary

    Provides distinct count of a field and a vector with all distinct values of the field.

    Inheritance
    System.Object
    SummaryBase
    VectorSummary
    DistinctCountSummary
    Implements
    ITreeTableSummary
    ICountAggregate
    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)
    VectorSummary.Combine(VectorSummary)
    VectorSummary.CombineHelper(VectorSummary, Boolean, Int32)
    VectorSummary.Count
    VectorSummary.ToString()
    VectorSummary.Values
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public sealed class DistinctCountSummary : VectorSummary, ITreeTableSummary, ICountAggregate

    Constructors

    DistinctCountSummary(Object[], Int32)

    Initializes a new instance of DistinctCountSummary class with the specified values.

    Declaration
    public DistinctCountSummary(object[] values, int length)
    Parameters
    Type Name Description
    System.Object[] values

    Object array that contains summary values.

    System.Int32 length

    Number of values.

    Fields

    Empty

    The initial summary object for empty records or tables.

    Declaration
    public static readonly DistinctCountSummary Empty
    Field Value
    Type
    DistinctCountSummary

    Methods

    Combine(DistinctCountSummary)

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

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

    Another summary object (of the same type).

    Returns
    Type Description
    DistinctCountSummary

    A new summary object with combined values of both summaries.

    Combine(SummaryBase)

    Combines 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
    VectorSummary.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 DistinctCountSummary class.

    CreateSummaryMethod(SummaryDescriptor, Record)

    Creates a summary object for 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.

    Implements

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