menu

WinForms

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

    Show / Hide Table of Contents

    Class BooleanAggregateSummary

    Summarizes Boolean fields. Provides Count, TrueCount, and FalseCount.

    Inheritance
    System.Object
    SummaryBase
    BooleanAggregateSummary
    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)
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public sealed class BooleanAggregateSummary : SummaryBase, ITreeTableSummary, ICountAggregate

    Constructors

    BooleanAggregateSummary(Int32, Int32, Int32)

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

    Declaration
    public BooleanAggregateSummary(int count, int countFalse, int countTrue)
    Parameters
    Type Name Description
    System.Int32 count

    The Count value.

    System.Int32 countFalse

    False count.

    System.Int32 countTrue

    True count.

    Fields

    Empty

    The initial summary object for empty records or tables.

    Declaration
    public static readonly BooleanAggregateSummary Empty
    Field Value
    Type
    BooleanAggregateSummary

    Properties

    Count

    Gets the count.

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

    FalseCount

    Gets the count of False.

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

    TrueCount

    Gets the count of True.

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

    Methods

    Combine(BooleanAggregateSummary)

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

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

    Another summary object (of the same type).

    Returns
    Type Description
    BooleanAggregateSummary

    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
    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

    The summary descriptor.

    Record record

    Record value.

    Returns
    Type Description
    ITreeTableSummary

    An instance of the BooleanAggregateSummary 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.

    ToString()

    Returns a string holding the summary value.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string holding the summary value.

    Overrides
    System.Object.ToString()

    Implements

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