New to Telerik UI for WinFormsStart a free 30-day trial

Class that describes the aggregation of items using CalculatedField as the criteria.

Definition

Constructors

C#
public CalculatedAggregateDescription()

Properties

C#
public CalculatedField CalculatedField { get; }
Remarks:

This property is initialized once ItemsSource is set.

Gets or sets the Name of the calculated field used in this CalculatedAggregateDescription.

C#
[DataMember]
public string CalculatedFieldName { get; set; }

Methods

Makes the instance a clone (deep copy) of the specified Cloneable.

C#
protected override sealed void CloneCore(Cloneable source)
Parameters:sourceCloneable

The object to clone.

Overrides: LocalAggregateDescription.CloneCore(Cloneable)

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).

When implemented in a derived class, creates a new instance of the Cloneable derived class.

C#
protected override Cloneable CreateInstanceCore()
Returns:

Cloneable

New instance for cloning.

Overrides: Cloneable.CreateInstanceCore()

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.

Gets the display-friendly name.

C#
protected override string GetDisplayName()
Returns:

string

A string name.

Overrides: DescriptionBase.GetDisplayName()

Returns the member name for this description.

C#
public override string GetUniqueName()
Returns:

string

Overrides: DescriptionBase.GetUniqueName()

Returns the value that will be passed in the aggregate for given item.

C#
protected override object GetValueForItem(object item)
Parameters:itemobject

The item which value will be extracted.

Returns:

object

Returns the value for given item.

Overrides: LocalAggregateDescription.GetValueForItem(object)