All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ICustomFunctionCategory Interface

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

Namespace: DevExpress.DataAccess.ExpressionEditor

Assembly: DevExpress.DataAccess.v21.2.dll

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";
        // ...
    }
}

View Example: Dashboard for WinForms - How to Aggregate Data by String Concatenation

The following code snippets (auto-collected from DevExpress Examples) contain references to the ICustomFunctionCategory interface.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also