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

Helper class used as IGrouping implementation.

Definition

Constructors

Initializes a new instance of the GroupingImpl<TGroupKey, TItem> class.

C#
public GroupingImpl(object key, IEnumerable originalItems, int originalItemCount, bool hasSubgroups, AggregateResultCollection aggregateResults, QueryableCollectionViewGroup parentGroup)
Parameters:keyobject

The group key.

originalItemsIEnumerable

The original items.

originalItemCountint

The original item count.

hasSubgroupsbool

If set to true This group has child groups.

aggregateResultsAggregateResultCollection

The aggregate results.

parentGroupQueryableCollectionViewGroup

The parent group.

Methods

Returns an enumerator that iterates through a collection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

Implements: IEnumerable.GetEnumerator()