GroupBuilder<T>
Class
Used to build groups from indexer
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
T
Syntax:
C#
public class GroupBuilder<T> where T : IDataItem
Inheritance: objectGroupBuilder<T>
Derived Classes:
Constructors
Properties
Gets the collection view associated with this builder.
C#
public RadCollectionView<T> CollectionView { get; }
Gets the default group predicate.
C#
public virtual GroupPredicate<T> DefaultGroupPredicate { get; }
The group predicate.
Gets or sets the group predicate.
C#
public virtual GroupPredicate<T> GroupPredicate { get; set; }
The group predicate.
Gets the groups.
C#
public GroupCollection<T> Groups { get; }
The groups.
Gets a value indicating whether [needs refresh].
C#
public bool NeedsRefresh { get; }
true if [needs refresh]; otherwise, false.
Methods
C#
protected virtual object GetItemKey(T item, SortDescriptor descriptor)
Performs the grouping operation for specified items.
C#
public virtual GroupCollection<T> Perform(IReadOnlyCollection<T> items, int level, Group<T> parent)
The items.
levelintThe level.
parentGroup<T>The parent.
Returns: