Class
Group

Describes a group

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

cs-api-definition
public class Group : IGroup

Inheritance: objectGroup

Derived Classes: AggregateFunctionsGroup

Implements: IGroup

Constructors

Group()

Declaration

cs-api-definition
public Group()

Properties

HasSubgroups

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

Declaration

cs-api-definition
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

cs-api-definition
public int ItemCount { get; set; }

Property Value

int

The items count.

Implements IGroup.ItemCount

Items

Gets the items in this groups.

Declaration

cs-api-definition
public IEnumerable Items { get; set; }

Property Value

IEnumerable

The items in this group.

Implements IGroup.Items

Key

Gets the key for this group.

Declaration

cs-api-definition
public object Key { get; set; }

Property Value

object

The key for this group.

Implements IGroup.Key

Member

The name of the group field

Declaration

cs-api-definition
public string Member { get; set; }

Property Value

string

Implements IGroup.Member

Subgroups

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

Declaration

cs-api-definition
[IgnoreDataMember]
public ReadOnlyCollection<IGroup> Subgroups { get; }

Property Value

ReadOnlyCollection<IGroup>

The subgroups.

Implements IGroup.Subgroups