AggregateResult
Represents a result returned by an aggregate function.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public class AggregateResult : INotifyPropertyChanged
Inheritance: objectAggregateResult
Implements:
Constructors
Initializes a new instance of the AggregateResult class.
public AggregateResult(AggregateFunction function)
AggregateFunction that generated the result.
Exceptions:function is null.
Initializes a new instance of the AggregateResult class.
public AggregateResult(object value, AggregateFunction function)
The value of the result.
functionAggregateFunctionAggregateFunction that generated the result.
Initializes a new instance of the AggregateResult class.
public AggregateResult(object value, int itemCount, AggregateFunction aggregateFunction)
The value of the result.
itemCountintThe number of arguments used for the calculation of the result.
aggregateFunctionAggregateFunctionFunction that generated the result.
Exceptions:aggregateFunction is null.
Properties
Gets or sets the text which serves as a caption for the result in a user interface..
public string Caption { get; }
The text which serves as a caption for the result in a user interface.
Gets the formatted value of the result.
public object FormattedValue { get; set; }
The formatted value of the result.
Gets the name of the function.
public string FunctionName { get; }
The name of the function.
Gets or sets the number of arguments used for the calculation of the result.
public int ItemCount { get; }
The number of arguments used for the calculation of the result.
Methods
Called when a property has changed.
protected void OnPropertyChanged(string propertyName)
Name of the property.
Events
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: