combit List & Label 30 - .NET Help
combit.Reporting Namespace / EvaluateFunctionHandler Delegate


EvaluateFunctionHandler Delegate

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. Use the following lines in order to return the total of both parameters, for instance.

Syntax
'Declaration
 
Public Delegate Sub EvaluateFunctionHandler( _
   ByVal sender As Object, _
   ByVal e As EvaluateFunctionEventArgs _
) 
 

Parameters

sender
e
Example
private void designerFunction1_EvaluateFunction(object sender, EvaluateFunctionEventArgs e)
{
     e.ResultValue = (int.Parse(e.Parameter1.ToString()) + int.Parse(e.Parameter2.ToString()));
}
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also