Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 3.4 KB

File metadata and controls

46 lines (31 loc) · 3.4 KB

Reporting for ASP.NET Core - How to Implement a Custom Function in the Expression Editor

This example demonstrates how to implement custom functions for the Expression Editor available in the Web End-User Report Designer.

The project implements the following custom functions:

  • CustomFormatFunction that formats a value with the specified format string.

    Custom Function in Expression Editor

  • CountDistinct custom aggregate function that calculates the number of distinct values.

    Custom Aggregate Function in Expression Editor

The CustomFormatFunction class inherits from the ReportCustomFunctionOperatorBase class.

The CountDistinctCustomAggregate class implements the ICustomAggregateBrowsable interface.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)