WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GroupResult

    Show / Hide Table of Contents

    Class GroupResult

    Class that holds the information of the group like key, count, items and etc.

    Inheritance
    System.Object
    GroupResult
    Namespace: Syncfusion.UI.Xaml.Data
    Assembly: Syncfusion.Data.WinUI.dll
    Syntax
    public class GroupResult : Object

    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
    System.Int32

    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
    System.Collections.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
    System.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
    System.Collections.Generic.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
    System.String

    The result of the group, which contains the key and the items count in the group.

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