Class PropertyGroupDescriptionBase
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.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Core
Assembly: Telerik.Pivot.Core.dll
Syntax
public abstract class PropertyGroupDescriptionBase : GroupDescription, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IGroupDescription, IDescriptionBase, ISortableGroupDescription, IEditable, INamed, IDescriptionsReferencing, IGrandTotalSupport, IInitializeDescription, ILabelGroupFilterHost, IValueGroupFilterHost, IGroupsCountFilterHost, IGroupsPercentFilterHost, IGroupsSumFilterHost, ICanShowEmptyGroups, IFilteringDescription, IDistinctValuesDescription, IConditionFactory, IFilterOperatorsProvider
Constructors
PropertyGroupDescriptionBase()
Declaration
protected PropertyGroupDescriptionBase()
Properties
CalculatedItems
Gets the collection of calculated items that are used to initialize a group with a set of subgroups and summarized value.
Declaration
public Collection<CalculatedItem> CalculatedItems { get; }
Property Value
System.Collections.ObjectModel.Collection<CalculatedItem>
|
Culture
Gets the CultureInfo from the LocalDataSourceProvider.
Declaration
protected CultureInfo Culture { get; }
Property Value
System.Globalization.CultureInfo
|
PropertyName
Gets or sets a value identifying a property on the grouped items.
Declaration
public string PropertyName { get; set; }
Property Value
System.String
|
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override sealed void CloneCore(Cloneable source)
Parameters
Cloneable
source
The object to clone. |
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).
CloneOverride(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected abstract void CloneOverride(Cloneable source)
Parameters
Cloneable
source
The object to clone. |
Remarks
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).
GetAllNames(IEnumerable<Object>, IEnumerable<Object>)
Returns all possible group keys for this instance.
Declaration
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
uniqueNames
Enumeration of all unique group keys that were discovered after grouping. |
System.Collections.Generic.IEnumerable<System.Object>
parentGroupNames
Enumeration of all parent groups. |
Returns
System.Collections.Generic.IEnumerable<System.Object>
Returns all possible group keys for this instance. |
Overrides
GetDisplayName()
Gets the display-friendly name.
Declaration
protected override string GetDisplayName()
Returns
System.String
A System.String name. |
Overrides
GetUniqueName()
Returns the member name for this description.
Declaration
public override string GetUniqueName()
Returns
System.String
|
Overrides
GroupNameFromItem(Object, Int32)
Return a name for group that would contain the item
.
Declaration
protected virtual object GroupNameFromItem(object item, int level)
Parameters
System.Object
item
The item to group. |
System.Int32
level
The level of grouping for this GroupDescription. |
Returns
System.Object
A name for the group that would contain the |