Class
GroupDescription

Used to group items, provide well known groups, sort and filter the groups.

Definition

Namespace:Telerik.Data.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class GroupDescription : GroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescription

Derived Classes: PropertyGroupDescriptionBase

Implements: INotifyPropertyChangedISupportInitialize

Inherited Members GroupDescriptionBase.SortOrderDescriptionBase.GetMemberName()DescriptionBase.GetDisplayName()DescriptionBase.DisplayNameDescriptionBase.CustomNameDescriptionBase.PropertyNameSettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.NotifyChange(SettingsChangedEventArgs)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.OnPropertyChanged(string)SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()

Properties

GroupFilter

Gets or sets a GroupFilter implementation for this instance that would be used to filter the groups.

Declaration

cs-api-definition
public GroupFilter GroupFilter { get; set; }

Property Value

GroupFilter

LevelCount

Gets the number of levels that this instance will generate.

Declaration

cs-api-definition
public virtual int LevelCount { get; }

Property Value

int

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.

Grouping by days may require groups for the empty days in the current month. Grouping by persons may require groups all persons even if they do not contain any items within the current context.

Declaration

cs-api-definition
public bool ShowGroupsWithNoData { get; set; }

Property Value

bool

Methods

CloneCore(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration

cs-api-definition
protected override void CloneCore(Cloneable source)

Parameters

source

Cloneable

The object to clone.

Overrides GroupDescriptionBase.CloneCore(Cloneable)

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

cs-api-definition
protected virtual IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)

Parameters

uniqueNames

IEnumerable<object>

Enumeration of all unique group keys that were discovered after grouping.

parentGroupNames

IEnumerable<object>

Enumeration of all parent groups.

Returns

IEnumerable<object>

The possible group keys for this instance.