Skip to main content
A newer version of this page is available. .
All docs
V22.2

ICustomFunctionCategory Interface

When implemented by a custom aggregate function, designates its functional category in the Expression Editor.

Namespace: DevExpress.DataAccess.ExpressionEditor

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess

Declaration

public interface ICustomFunctionCategory

Remarks

Implement the ICustomFunctionCategory interface to define a category under which the Expression Editor should display the custom function. Otherwise, the custom function is displayed in the “String” function`s category.

Note

Reference the DevExpress.DataAccess package in your project to use ICustomFunctionCategory in the Pivot Grid control.

The following code snippet adds the custom StringConcat function in the “Aggregate” function`s category:

using DevExpress.DataAccess.ExpressionEditor;
// ...
namespace Dashboard_StringConcatAggregate {
    class StringConcatFunction : ICustomAggregateFunction, ICustomFunctionOperatorBrowsable, 
        ICustomFunctionCategory {
        // ...
        public string FunctionCategory => "Aggregate";
        // ...
    }
}
See Also