Class
Group

Represents an item that is created after grouping.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.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

ParentGroup

Gets the parent group.

Declaration

cs-api-definition
public IGroup ParentGroup { get; }

Property Value

IGroup

The parent group.

Implements IGroup.ParentGroup

Subgroups

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

Declaration

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

Property Value

ReadOnlyCollection<IGroup>

The subgroups.

Implements IGroup.Subgroups

Methods

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()