As suggested by my colleagues, the Average
function is meant to be used with a collection of numeric values. For example, if our Employee
class had a Ratings
property of type List<int>
we could filter the RadGridView
in the Getting Started
article of the RadExpressionControl
in a similar manner.
If you wish to display the average value of the Salary
property of the items in RadGridView's ItemsSource
, you can define an aggregate function
for the Salary
I hope you find this information helpful. Do let me know if you need any further clarifications on the matter.