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.
Inherited Members
Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public abstract class GroupDescriptionBase : DescriptionBase, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IGroupDescription, IDescriptionBase, ISortableGroupDescription, INamed, IEditable, IDescriptionsReferencing, IGrandTotalSupport
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
public GroupComparer GroupComparer { get; set; }
Property Value
GroupComparer
|
Implements
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
public SortOrder SortOrder { get; set; }
Property Value
SortOrder
|
Implements
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
protected override void CloneCore(Cloneable source)
Parameters
Cloneable
source
The source group description to clone from. |
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).