AggregateResult
Information for aggregates on the data.
Definition
Namespace:Telerik.DataSource
Assembly:Telerik.DataSource.dll
Syntax:
public class AggregateResult
Inheritance: objectAggregateResult
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 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:function is null.
Methods
Properties
The name of the aggregation method that is used.
public string AggregateMethodName { get; }
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.
The name of the field over which aggregation is performed.
public string Member { get; }