ClassPropertyAggregateDescription
Describes the aggregation of items using a property name as the criteria.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
[DataContract]
public sealed class PropertyAggregateDescription : PropertyAggregateDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed
Inheritance: objectCloneableSettingsNodeDescriptionBaseAggregateDescriptionBaseLocalAggregateDescriptionPropertyAggregateDescriptionBasePropertyAggregateDescription
Implements:
Inherited Members
Constructors
PropertyAggregateDescription()
Initializes a new instance of the PropertyAggregateDescription class.
Declaration
public PropertyAggregateDescription()
Properties
PropertyName
Gets or sets the name of the property used for aggregation calculations. This property identifies which field from the data objects should be used to extract values for aggregation.
Declaration
public override string PropertyName { get; set; }
Property Value
Overrides
Methods
CloneOverride(Cloneable)
When overridden in derived classes, performs type-specific cloning operations for the derived class properties. This method is called by CloneCore(Cloneable) after base properties have been copied.
Declaration
protected override void CloneOverride(Cloneable source)
Parameters
source
The source object to clone from.
Overrides
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).
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Cloneable derived class.
Declaration
protected override Cloneable CreateInstanceCore()
Returns
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.