Class
Group

Describes a group

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

public class Group : IGroup

Inheritance: objectGroup

Derived Classes: AggregateFunctionsGroup

Implements: IGroup

Constructors

Group()

Declaration

public Group()

Properties

HasSubgroups

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

Declaration

public bool HasSubgroups { get; set; }

Property Value

bool

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

Implements IGroup.HasSubgroups

ItemCount

Gets the number of items in this group.

Declaration

public int ItemCount { get; set; }

Property Value

int

The items count.

Implements IGroup.ItemCount

Items

Gets the items in this groups.

Declaration

public IEnumerable Items { get; set; }

Property Value

IEnumerable

The items in this group.

Implements IGroup.Items

Key

Gets the key for this group.

Declaration

public object Key { get; set; }

Property Value

object

The key for this group.

Implements IGroup.Key

Member

The name of the group field

Declaration

public string Member { get; set; }

Property Value

string

Implements IGroup.Member

Subgroups

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

Declaration

[IgnoreDataMember]
public ReadOnlyCollection<IGroup> Subgroups { get; }

Property Value

ReadOnlyCollection<IGroup>

The subgroups.

Implements IGroup.Subgroups