combit List & Label 25 - .NET Online Web Help
EvaluateFunction Event

combit.ListLabel25 Namespace > DesignerFunction Class : EvaluateFunction Event

The event EvaluateFunction has to be handled in order to activate the function. You can gain access to the parameters indicated by the user through event arguments.

Public Event EvaluateFunction As EvaluateFunctionHandler
public event EvaluateFunctionHandler EvaluateFunction
event EvaluateFunctionHandler^ EvaluateFunction
Event Data

The event handler receives an argument of type EvaluateFunctionEventArgs containing data related to this event. The following EvaluateFunctionEventArgs properties provide information specific to this event.

Number of decimal places.  
Returns the first parameter.  
Returns the second parameter.  
Returns the third parameter.  
Returns the fourth parameter.  
Number of parameters passed.  

The data type of the result.


The data value of the result.


private void designerFunction1_EvaluateFunction(object sender, EvaluateFunctionEventArgs e)


     e.ResultValue = (int.Parse(e.Parameter1.ToString()) + int.Parse(e.Parameter2.ToString()));



Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also