New to Telerik UI for WinFormsStart a free 30-day trial

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

Definition

Constructors

C#
protected GroupDescription()

Properties

Gets or sets value that indicates whether the subtotals for the GroupDescription should be displayed when possible or not. The default value is true - the subtotals are displayed when possible (depending on the subtotals position properties of RadPivotGrid).

C#
[DataMember]
public bool AutoShowSubTotals { get; set; }

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

C#
[DataMember]
public GroupFilter GroupFilter { get; set; }

Gets or sets value that indicates 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.

C#
[DataMember]
public bool ShowGroupsWithNoData { get; set; }

Methods

Creates a deep copy of this group description by copying core properties including sort order and group comparer. This method ensures that cloned instances maintain their grouping and sorting configuration independently.

C#
protected override void CloneCore(Cloneable source)
Parameters:sourceCloneable

The source group description to clone from.

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).

Returns all possible group keys for this instance.

C#
protected virtual IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters:uniqueNamesIEnumerable<object>

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

parentGroupNamesIEnumerable<object>

Enumeration of all parent groups.

Returns:

IEnumerable<object>

Returns all possible group keys for this instance.