Class GroupResult
Represents the result of a grouping operation containing grouped items and metadata.
Inherited Members
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. |