skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • 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 Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class QueryableCollectionViewGroup

Represents a wrapper over an AggregateFunctionsGroup that allows adding and removing of child items/groups.

Inheritance
System.Object
QueryableCollectionViewGroup
GroupingImpl<TGroupKey, TItem>
QueryableCollectionViewGroupRoot
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public class QueryableCollectionViewGroup : CollectionViewGroup, IGroup

Constructors

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

Initializes a new instance of the QueryableCollectionViewGroup class.

Declaration
protected QueryableCollectionViewGroup(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.

Properties

AggregateResults

Gets the aggregate results.

Declaration
public AggregateResultCollection AggregateResults { get; }
Property Value
AggregateResultCollection

The aggregate results.

HasSubgroups

Gets a value indicating whether this instance has sub groups.

Declaration
public bool HasSubgroups { get; }
Property Value
System.Boolean

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

Implements
IGroup.HasSubgroups

IsBottomLevel

Gets a value that indicates whether this group has any subgroups.

Declaration
public override bool IsBottomLevel { get; }
Property Value
System.Boolean

Items

Gets the immediate items contained in this group.

Declaration
public ReadOnlyObservableCollection<object> Items { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyObservableCollection<System.Object>

Key

Gets the key for this group.

Declaration
public object Key { get; }
Property Value
System.Object

The key for this group.

Implements
IGroup.Key

ParentGroup

Gets the parent group.

Declaration
public IGroup ParentGroup { get; }
Property Value
IGroup

The parent group.

Implements
IGroup.ParentGroup

RootGroup

Gets the root group.

Declaration
protected virtual QueryableCollectionViewGroupRoot RootGroup { get; }
Property Value
QueryableCollectionViewGroupRoot

The root group.

Subgroups

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

Declaration
public ReadOnlyCollection<IGroup> Subgroups { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<IGroup>

The subgroups.

Implements
IGroup.Subgroups

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Load()

Loads all items for the group.

Declaration
protected void Load()

ToString()

Declaration
public override string ToString()
Returns
System.String

Explicit Interface Implementations

IGroup.get_ItemCount()

Declaration
int IGroup.get_ItemCount()
Returns
System.Int32

Implements
Telerik.Windows.Data.IGroup.get_ItemCount()

IGroup.Items

Declaration
IEnumerable IGroup.Items { get; }
Returns
System.Collections.IEnumerable

Implements
IGroup.Items

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
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.