ClassGroupDescription
Used to group items, provide well known groups, sort and filter the groups.
Definition
Namespace:Telerik.Data.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public abstract class GroupDescription : GroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize
Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescription
Derived Classes:
Implements:
Inherited Members
Properties
GroupFilter
Gets or sets a GroupFilter implementation for this instance that would be used to filter the groups.
Declaration
public GroupFilter GroupFilter { get; set; }
Property Value
LevelCount
Gets the number of levels that this instance will generate.
Declaration
public virtual int LevelCount { get; }
Property Value
The number of levels.
ShowGroupsWithNoData
Gets or sets a value indicating whether well known groups should be created even if there are no items for them.
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
source
The object to clone.
Overrides
Remarks
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
GetAllNames(IEnumerable<object>, IEnumerable<object>)
Returns all possible group keys for this instance.
Declaration
protected virtual IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters
uniqueNames
Enumeration of all unique group keys that were discovered after grouping.
parentGroupNames
Enumeration of all parent groups.
Returns
The possible group keys for this instance.