IGroupFactory<T>
Interface
Creates group nodes and collections used by a collection view's grouping hierarchy.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
T
The data-item type contained by the groups.
Syntax:
C#
public interface IGroupFactory<T> where T : IDataItem
Methods
Creates the collection that exposes a set of groups to the view.
C#
GroupCollection<T> CreateCollection(IList<Group<T>> list)
The groups to expose.
Returns:A collection containing the supplied groups.
Creates a group node for a key and its parent.
C#
Group<T> CreateGroup(object key, Group<T> parent, params object[] metaData)
The value identifying the group.
parentGroup<T>The parent group, or null for a root group.
metaDataobject[]Optional factory-specific data associated with group creation.
Returns:Group<T>
The group node representing the key.