Class CalculatedAggregateDescription
Class that describes the aggregation of items using CalculatedField as the criteria.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public sealed class CalculatedAggregateDescription : LocalAggregateDescription, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed, ITotalFormatHost, IDescriptionsReferencing, IStringFormatableAggregate, IInitializeDescription, IDataFieldDescription, ICalculatedAggregateDescription
Constructors
CalculatedAggregateDescription()
Declaration
public CalculatedAggregateDescription()
Properties
CalculatedField
Gets the CalculatedField associated with this CalculatedAggregateDescription based on CalculatedFieldName.
Declaration
public CalculatedField CalculatedField { get; }
Property Value
CalculatedField
|
Remarks
This property is initialized once ItemsSource is set.
CalculatedFieldName
Gets or sets the Name of the calculated field used in this CalculatedAggregateDescription.
Declaration
public string CalculatedFieldName { 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).
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Cloneable derived class.
Declaration
protected override Cloneable CreateInstanceCore()
Returns
Cloneable
New instance for cloning. |
Overrides
Remarks
Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.
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
GetValueForItem(Object)
Returns the value that will be passed in the aggregate for given item.
Declaration
protected override object GetValueForItem(object item)
Parameters
System.Object
item
The item which value will be extracted. |
Returns
System.Object
Returns the value for given item. |