New to Telerik Document ProcessingStart a free 30-day trial

Central registry for managing spreadsheet functions, enabling registration, unregistration, and lookup of built-in and custom functions by name.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public static class FunctionManager

Inheritance: objectFunctionManager

Methods

Retrieves all currently registered functions sorted by name for enumeration or discovery purposes.

C#
public static IEnumerable<FunctionBase> GetAllFunctions()
Returns:

IEnumerable<FunctionBase>

FunctionBase instances of all registered functions.

Retrieves a registered function by name (case-insensitive) and returns null if not found.

C#
public static FunctionBase GetFunctionByName(string functionName)
Parameters:functionNamestring

Name of the function.

Returns:

FunctionBase

An FunctionBase instance.

Adds or replaces a function in the registry, making it available for use in formulas by its name.

C#
public static void RegisterFunction(FunctionBase function)
Parameters:functionFunctionBase

The function.

Removes a function from the registry by instance, making it unavailable for use in formulas.

C#
public static void UnregisterFunction(FunctionBase function)
Parameters:functionFunctionBase

The function.

Removes a function from the registry by name (case-insensitive), making it unavailable for use in formulas.

C#
public static void UnregisterFunction(string functionName)
Parameters:functionNamestring

Name of the function.