Class
GroupDescriptionBase

Provides a base class for group descriptions in pivot operations. This abstract class defines the foundation for grouping data items with support for sorting, comparison logic, and grand total functionality. Derived classes implement specific grouping strategies for different data types and scenarios.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

cs-api-definition
[DataContract]
public abstract class GroupDescriptionBase : DescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IGroupDescription, IDescriptionBase, INamed, IEditable

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBase

Derived Classes: GroupDescription

Implements: IDescriptionBaseIEditableIGroupDescriptionINamedINotifyPropertyChangedIServiceProviderISupportInitialize

Inherited Members DescriptionBase.GetDisplayName()DescriptionBase.GetUniqueName()DescriptionBase.DisplayNameDescriptionBase.CustomNameSettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()

Properties

GroupComparer

Gets or sets the GroupComparer used to compare and sort groups within this group description. This comparer determines the ordering of groups and can implement custom comparison logic for specific data types.

Declaration

cs-api-definition
[DataMember]
public GroupComparer GroupComparer { get; set; }

Property Value

GroupComparer

Implements IGroupDescription.GroupComparer

SortOrder

Gets or sets the sort order for groups created by this group description. Determines whether groups should be sorted in ascending, descending, or default order during pivot operations.

Declaration

cs-api-definition
[DataMember]
public SortOrder SortOrder { get; set; }

Property Value

SortOrder

Implements IGroupDescription.SortOrder

Methods

CloneCore(Cloneable)

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.

Declaration

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

Parameters

source

Cloneable

The source group description to clone from.

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