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

Base class that describes the aggregation of items using a property name as the criteria.

Definition

Properties

Gets or sets a general string format to use for this AggregateDescriptionBase AggregateValue. This format will be used if the AggregateFunction or TotalFormat does not alter the meaning of the original data.

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

Gets or sets a StringFormatSelector that would provide a proper StringFormat for AggregateFunction or TotalFormat that alter the meaning of the original data. StringFormat. TotalFormat.

C#
[DataMember]
public StringFormatSelector StringFormatSelector { get; set; }

Methods

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

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

The object to clone.

Overrides: AggregateDescriptionBase.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).

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

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

The item which value will be extracted.

Returns:

object

Returns the value for given item.