AggregateResult
Represents a result returned by an aggregate function.
Definition
Namespace:Telerik.Web.Data
Assembly:Telerik.Web.UI.dll
Syntax:
public class AggregateResult : INotifyPropertyChanged
Inheritance: objectAggregateResult
Implements:
Inherited Members
Constructors
Initializes a new instance of the AggregateResult class.
public AggregateResult(AggregateFunction function)
AggregateFunction that generated the result.
Exceptions: ArgumentNullExceptionfunction 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 count, AggregateFunction function)
The value of the result.
countintThe number of arguments used for the calculation of the result.
functionAggregateFunctionFunction that generated the result.
Exceptions: ArgumentNullExceptionfunction 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; }
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 calulation of the result.
public int ItemCount { get; set; }
The number of arguments used for the calulation 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: