Class QueryableCollectionViewGroup
Represents a wrapper over an AggregateFunctionsGroup that allows adding and removing of child items/groups.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class QueryableCollectionViewGroup : CollectionViewGroup, IGroup, ISupportsIsExpanded
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 |
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
|
Implements
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
ParentGroup
Gets the parent group.
Declaration
public IGroup ParentGroup { get; }
Property Value
IGroup
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
System.Collections.ObjectModel.ReadOnlyCollection<IGroup>
The subgroups. |
Implements
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
IGroup.Items
Declaration
IEnumerable IGroup.Items { get; }
Returns
System.Collections.IEnumerable
|