Class GroupResult
Class that holds the information of the group like key, count, items and etc.
Inherited Members
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
public class GroupResult
Constructors
GroupResult()
Declaration
public GroupResult()
Properties
Count
Gets or sets the total number of items in the group.
Declaration
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The total number of items in the group. |
Items
Gets or sets the enumerable collection of items in the group.
Declaration
public IEnumerable Items { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable | The enumerable collection of items in the group. |
Key
Gets or sets the key of the group.
Declaration
public object Key { get; set; }
Property Value
| Type | Description |
|---|---|
| object | The key of the group. |
SubGroups
Gets or sets the enumerable collection of the sub-groups in the group, if the group contains any sub-groups.
Declaration
public IEnumerable<GroupResult> SubGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<GroupResult> | The enumerable collection of the sub-groups in the group. |
Methods
ToString()
Returns the result of the group, which contains the key and the items count in the group.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The result of the group, which contains the key and the items count in the group. |