Base class used to group items, provide well known groups, sort and filter the groups for a LocalDataSourceProvider based on the item's PropertyName value.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.Pivot.Core.dll
Syntax:
[DataContract]
public abstract class PropertyGroupDescriptionBase : GroupDescription, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IGroupDescription, IDescriptionBase, INamed, IEditable
Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionPropertyGroupDescriptionBase...
Derived Classes:
Implements:
Inherited Members
Constructors
protected PropertyGroupDescriptionBase()
Properties
Gets the collection of calculated items that are used to initialize a group with a set of subgroups and summarized value.
[DataMember]
public Collection<CalculatedItem> CalculatedItems { get; }
Gets the CultureInfo from the LocalDataSourceProvider.
protected CultureInfo Culture { get; }
Gets or sets a value identifying a property on the grouped items.
[DataMember]
public string PropertyName { get; set; }
Methods
Makes the instance a clone (deep copy) of the specified Cloneable.
protected override sealed void CloneCore(Cloneable source)
The object to clone.
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).
Makes the instance a clone (deep copy) of the specified Cloneable.
protected abstract void CloneOverride(Cloneable source)
The object to clone.
Notes to Inheritors If you derive from Cloneable, you 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.
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Enumeration of all unique group keys that were discovered after grouping.
parentGroupNamesIEnumerable<object>Enumeration of all parent groups.
Returns:Returns all possible group keys for this instance.
Overrides:
Returns the member name for this description.
Return a name for group that would contain the item.
protected virtual object GroupNameFromItem(object item, int level)
The item to group.
levelintThe level of grouping for this GroupDescription.
Returns:A name for the group that would contain the item.