New to Telerik UI for BlazorStart a free 30-day trial

Group

Class

Describes a group

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

C#
public class Group : IGroup

Inheritance: objectGroup

Derived Classes: AggregateFunctionsGroup

Implements: IGroup

Constructors

C#
public Group()

Properties

Gets a value indicating whether this instance has any sub groups.

C#
public bool HasSubgroups { get; set; }
Property Value:

true if this instance has sub groups; otherwise, false.

Implements: IGroup.HasSubgroups

Gets the number of items in this group.

C#
public int ItemCount { get; set; }
Property Value:

The items count.

Implements: IGroup.ItemCount

Gets the items in this groups.

C#
public IEnumerable Items { get; set; }
Property Value:

The items in this group.

Implements: IGroup.Items

Gets the key for this group.

C#
public object Key { get; set; }
Property Value:

The key for this group.

Implements: IGroup.Key

The name of the group field

C#
public string Member { get; set; }

Implements: IGroup.Member

Gets the subgroups, if HasSubgroups is true, otherwise empty collection.

C#
[IgnoreDataMember]
public ReadOnlyCollection<IGroup> Subgroups { get; }
Property Value:

The subgroups.

Implements: IGroup.Subgroups