• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin
    Desktop
    UI for WinForms UI for WPF UI for WinUI UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore Fiddler Everywhere
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler Classic JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class GroupingImpl<TGroupKey, TItem>

Helper class used as IGrouping implementation.

Inheritance
System.Object
QueryableCollectionViewGroup
GroupingImpl<TGroupKey, TItem>
Inherited Members
QueryableCollectionViewGroup.Load()
QueryableCollectionViewGroup.GetHashCode()
QueryableCollectionViewGroup.Equals(Object)
QueryableCollectionViewGroup.ToString()
QueryableCollectionViewGroup.IGroup.get_ItemCount()
QueryableCollectionViewGroup.Key
QueryableCollectionViewGroup.Items
QueryableCollectionViewGroup.IGroup.Items
QueryableCollectionViewGroup.Subgroups
QueryableCollectionViewGroup.IsBottomLevel
QueryableCollectionViewGroup.HasSubgroups
QueryableCollectionViewGroup.ParentGroup
QueryableCollectionViewGroup.AggregateResults
QueryableCollectionViewGroup.RootGroup
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public class GroupingImpl<TGroupKey, TItem> : QueryableCollectionViewGroup, IGroup, IGrouping<TGroupKey, TItem>, IEnumerable<TItem>, IEnumerable
Type Parameters
TGroupKey

The type of the group key.

TItem

The type of the item.

Constructors

GroupingImpl(Object, IEnumerable, Int32, Boolean, AggregateResultCollection, QueryableCollectionViewGroup)

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

Declaration
public GroupingImpl(object key, IEnumerable originalItems, int originalItemCount, bool hasSubgroups, AggregateResultCollection aggregateResults, QueryableCollectionViewGroup parentGroup)
Parameters
System.Object key

The group key.

System.Collections.IEnumerable originalItems

The original items.

System.Int32 originalItemCount

The original item count.

System.Boolean hasSubgroups

If set to true This group has child groups.

AggregateResultCollection aggregateResults

The aggregate results.

QueryableCollectionViewGroup parentGroup

The parent group.

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator

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

Implements
System.Collections.IEnumerable.GetEnumerator()

Explicit Interface Implementations

IEnumerable<TItem>.GetEnumerator()

Declaration
IEnumerator<TItem> IEnumerable<TItem>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<TItem>

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.