Skip to content

Implements custom functions for the Expression Editor in the Web End-User Report Designer.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-asp-net-core-custom-function-expression-editor

Repository files navigation

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)