Stores the items for a group and lazily builds its child groups through a GroupBuilder<T>.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Type Parameters:
TDataItem
The data-item type contained by the group.
Syntax:
public class DataItemGroup<TDataItem> : Group<TDataItem>, IReadOnlyCollection<TDataItem>, IEnumerable where TDataItem : IDataItem
Inheritance: objectGroup<TDataItem>DataItemGroup<TDataItem>
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a root data-item group identified by the specified key.
Properties
Cache
GroupCollection<TDataItem>
Gets the previously built child groups used as a cache during regrouping.
protected GroupCollection<TDataItem> Cache { get; }
This property is null until child groups have been built.
Groups
GroupCollection<TDataItem>
Gets the child groups, building or refreshing them when the assigned group builder's version changes.
public override GroupCollection<TDataItem> Groups { get; }
The child groups, or Empty when no builder is assigned.
Overrides:
Items
IList<TDataItem>
Gets the lazily created list of items assigned directly to this group.
protected override IList<TDataItem> Items { get; }
Overrides: