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:
[DataContract]
public abstract class GroupDescriptionBase : DescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IGroupDescription, IDescriptionBase, INamed, IEditable
Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBase
Derived Classes:
Implements:
Inherited Members
Properties
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.
[DataMember]
public GroupComparer GroupComparer { get; set; }
Implements:
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.
protected override void CloneCore(Cloneable source)
The source group description to clone from.
Overrides:
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).