Expression Editor provides various built-in functions to create expressions for your applications. It allows you to define custom functions using the AddFunction method of C1ExpressionEditor class. This custom function gets added to the ExpressionEditor engine and is accessible at runtime by C1ExpressionEditor for performing calculations.
The following image shows a custom function named Factorial, added to the ExpressionEditor engine.
The following code demonstrates how a custom function is created and added to the Expression Editor panel: