combit List & Label 29 - .NET Help
combit.Reporting Namespace / ParameterAutoCompleteHandler Delegate


In This Topic
    ParameterAutoCompleteHandler Delegate
    In This Topic

    Via ParameterAutoComplete, it is possible to give different recommended values to the AutoComplete feature of the formula assistant.

    Syntax
    'Declaration
     
    
    Public Delegate Sub ParameterAutoCompleteHandler( _
       ByVal sender As Object, _
       ByVal e As ParameterAutoCompleteEventArgs _
    ) 
    public delegate void ParameterAutoCompleteHandler( 
       object sender,
       ParameterAutoCompleteEventArgs e
    )
    public delegate void ParameterAutoCompleteHandler( 
       Object^ sender,
       ParameterAutoCompleteEventArgs^ e
    )

    Parameters

    sender
    e
    Example
    private void designerFunction1_ParameterAutoComplete(object sender, ParameterAutoCompleteEventArgs e)
    {
         for(int i = 1; i <= 20; i++)
            e.Values.Add(i.ToString());
    }
    
    Requirements

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

    See Also