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
Constructors
QueryableCollectionViewGroup(Object, IEnumerable, Int32, Boolean, AggregateResultCollection, QueryableCollectionViewGroup)
Initializes a new instance of the Queryable
Declaration
protected QueryableCollectionViewGroup(object key, IEnumerable originalItems, int originalItemCount, bool hasSubgroups, AggregateResultCollection aggregateResults, QueryableCollectionViewGroup parentGroup)
Parameters
System. The group key. |
System. The original items. |
System. The original item count. |
System. If set to |
Aggregate The aggregate results. |
Queryable The parent group. |
Properties
AggregateResults
Gets the aggregate results.
Declaration
public AggregateResultCollection AggregateResults { get; }
Property Value
Aggregate The aggregate results. |
HasSubgroups
Gets a value indicating whether this instance has sub groups.
Declaration
public bool HasSubgroups { get; }
Property Value
System.
|
Implements
IsBottomLevel
Gets a value that indicates whether this group has any subgroups.
Declaration
public override bool IsBottomLevel { get; }
Property Value
System.
|
Items
Gets the immediate items contained in this group.
Declaration
public ReadOnlyObservableCollection<object> Items { get; }
Property Value
System.
|
Key
Gets the key for this group.
Declaration
public object Key { get; }
Property Value
System. 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
Queryable The root group. |
Subgroups
Gets the subgroups, if Has
Declaration
public ReadOnlyCollection<IGroup> Subgroups { get; }
Property Value
System. The subgroups. |
Implements
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.
|
Returns
System.
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. 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.
|
Explicit Interface Implementations
IGroup.get_ItemCount()
Declaration
int IGroup.get_ItemCount()
Returns
System.
|
Implements
IGroup.Items
Declaration
IEnumerable IGroup.Items { get; }
Returns
System.
|