ClassQueryableCollectionViewGroup
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:
public class QueryableCollectionViewGroup : CollectionViewGroup, IGroup
Inheritance: objectQueryableCollectionViewGroup
Derived Classes:
Implements:
Constructors
QueryableCollectionViewGroup(object, IEnumerable, int, bool, 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
key
The group key.
originalItems
The original items.
originalItemCount
The original item count.
hasSubgroups
If set to true This group has child groups.
aggregateResults
The aggregate results.
parentGroup
The parent group.
Properties
AggregateResults
Gets the aggregate results.
Declaration
public AggregateResultCollection AggregateResults { get; }
Property Value
The aggregate results.
HasSubgroups
Gets a value indicating whether this instance has sub groups.
Declaration
public bool HasSubgroups { get; }
Property Value
true if this instance has sub groups; otherwise, false.
Implements
IsBottomLevel
Gets a value that indicates whether this group has any subgroups.
Items
Gets the immediate items contained in this group.
Declaration
public ReadOnlyObservableCollection<object> Items { get; }
Property Value
Key
Gets the key for this group.
Declaration
public object Key { get; }
Property Value
The key for this group.
Implements
ParentGroup
Gets the parent group.
Declaration
public IGroup ParentGroup { get; }
Property Value
The parent group.
Implements
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
The subgroups.
Implements
Methods
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.