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

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

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public class QueryableCollectionViewGroup : CollectionViewGroup, IGroup

Inheritance: objectQueryableCollectionViewGroup

Derived Classes: GroupingImpl<TGroupKey, TItem>QueryableCollectionViewGroupRoot

Implements: IGroup

Constructors

Initializes a new instance of the QueryableCollectionViewGroup class.

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

Properties

Gets the aggregate results.

C#
public AggregateResultCollection AggregateResults { get; }
Property Value:

The aggregate results.

Gets a value indicating whether this instance has sub groups.

C#
public bool HasSubgroups { get; }
Property Value:

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

Implements: IGroup.HasSubgroups

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

C#
public override bool IsBottomLevel { get; }

Gets the immediate items contained in this group.

C#
public ReadOnlyObservableCollection<object> Items { get; }

Gets the key for this group.

C#
public object Key { get; }
Property Value:

The key for this group.

Implements: IGroup.Key

Gets the parent group.

C#
public IGroup ParentGroup { get; }
Property Value:

The parent group.

Implements: IGroup.ParentGroup

Gets the root group.

C#
protected virtual QueryableCollectionViewGroupRoot RootGroup { get; }
Property Value:

The root group.

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

C#
public ReadOnlyCollection<IGroup> Subgroups { get; }
Property Value:

The subgroups.

Implements: IGroup.Subgroups

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Returns a hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

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

Loads all items for the group.

C#
protected void Load()
C#
public override string ToString()
Returns:

string