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