ClassAggregateResult
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
AggregateResult(AggregateFunction)
Initializes a new instance of the AggregateResult class.
Declaration
public AggregateResult(AggregateFunction function)
Parameters
function
AggregateFunction that generated the result.
Exceptions
function is null.
AggregateResult(object, AggregateFunction)
Initializes a new instance of the AggregateResult class.
Declaration
public AggregateResult(object value, AggregateFunction function)
Parameters
value
The value of the result.
function
AggregateFunction that generated the result.
AggregateResult(object, int, AggregateFunction)
Initializes a new instance of the AggregateResult class.
Declaration
public AggregateResult(object value, int itemCount, AggregateFunction aggregateFunction)
Parameters
value
The value of the result.
itemCount
The number of arguments used for the calculation of the result.
aggregateFunction
Function that generated the result.
Exceptions
aggregateFunction is null.
Properties
Caption
Gets or sets the text which serves as a caption for the result in a user interface..
Declaration
public string Caption { get; }
Property Value
The text which serves as a caption for the result in a user interface.
FormattedValue
Gets the formatted value of the result.
Declaration
public object FormattedValue { get; set; }
Property Value
The formatted value of the result.
FunctionName
Gets the name of the function.
Declaration
public string FunctionName { get; }
Property Value
The name of the function.
ItemCount
Gets or sets the number of arguments used for the calculation of the result.
Declaration
public int ItemCount { get; }
Property Value
The number of arguments used for the calculation of the result.
Methods
OnPropertyChanged(string)
Called when a property has changed.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
Name of the property.
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements