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

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

Definition

Constructors

C#
protected PropertyAggregateDescriptionBase()

Properties

Gets or sets the aggregate function that will be used for summary calculation.

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

Provides the data type of the aggregate description.

C#
protected Type DataType { get; }

Gets or sets a value that determines whether the AggregateFunctions of this PropertyAggregateDescriptionBase will ignore null values when calculating the result.

C#
[DataMember]
public bool IgnoreNullValues { get; set; }

Gets or sets a value identifying a property on the grouped items.

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

Gets a list of suitable functions for the PropertyAggregateDescriptionBase.

C#
protected virtual IEnumerable<object> SupportedAggregateFunctions { get; }

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

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

C#
protected abstract void CloneOverride(Cloneable source)
Parameters:sourceCloneable

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

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)