combit List & Label 25 - .NET Online Web Help
EvaluateFunctionHandler Delegate


combit.ListLabel25 Namespace : 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 _
) 
public delegate void EvaluateFunctionHandler( 
   object sender,
   EvaluateFunctionEventArgs e
)
public delegate void EvaluateFunctionHandler( 
   Object^ sender,
   EvaluateFunctionEventArgs^ e
)

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

EvaluateFunctionHandler Members
combit.ListLabel25 Namespace