alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GroupResult

    Represents the result of a grouping operation containing grouped items and metadata.

    Inheritance
    object
    GroupResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Syncfusion.Blazor.Data
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GroupResult

    Constructors

    GroupResult()

    Declaration
    public GroupResult()

    Properties

    Count

    Gets or sets the number of items in the group.

    Declaration
    public int Count { get; set; }
    Property Value
    Type
    int

    Items

    Gets or sets the collection of items in the group.

    Declaration
    public IEnumerable? Items { get; set; }
    Property Value
    Type
    IEnumerable

    Key

    Gets or sets the key used for grouping the items.

    Declaration
    public object? Key { get; set; }
    Property Value
    Type
    object

    SubGroups

    Gets or sets the collection of nested sub-groups within this group.

    Declaration
    public IEnumerable<GroupResult>? SubGroups { get; set; }
    Property Value
    Type
    IEnumerable<GroupResult>

    Methods

    ToString()

    Returns a string representation of the group result in the format "Key (Count)".

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current group with its key and item count.

    Overrides
    object.ToString()
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved