Class GroupResult
Class that holds the information of the group like key, count, items and etc.
Inheritance
System.Object
GroupResult
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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.DataSource.Extensions
Assembly: Syncfusion.DataSource.WinForms.dll
Syntax
public class GroupResult : INotifyPropertyChanged
Constructors
GroupResult()
Initializes a new instance of the GroupResult class.
Declaration
public GroupResult()
Properties
Count
Gets the number of items in this group.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
IsExpand
Gets a value indicating whether group is expanded or not.
Declaration
public bool IsExpand { get; }
Property Value
Type |
---|
System.Boolean |
Items
Gets the collection of items in this group.
Declaration
public IEnumerable Items { get; }
Property Value
Type |
---|
System.Collections.IEnumerable |
Key
Gets or sets the Key of the group.
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
Level
Gets the level of grouping.
Declaration
public int Level { get; }
Property Value
Type |
---|
System.Int32 |
SubGroups
Gets the collection of sub groups within this group.
Declaration
public IEnumerable<GroupResult> SubGroups { get; }
Property Value
Type |
---|
System.Collections.Generic.IEnumerable<GroupResult> |
Methods
Collapse()
Collapses the group.
Declaration
public void Collapse()
Expand()
Expands the group.
Declaration
public void Expand()
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. |
Overrides
System.Object.ToString()
Events
PropertyChanged
Occurs when the property is changed for the data objects on the collection.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged