combit List & Label 25 - .NET Online Web Help
TranslateFilterSyntax Event (DbConnectionDataProvider)

combit.ListLabel25.DataProviders Namespace > DbConnectionDataProvider Class : TranslateFilterSyntax Event
Public Event TranslateFilterSyntax As EventHandler(Of TranslateFilterSyntaxEventArgs)
public event EventHandler<TranslateFilterSyntaxEventArgs> TranslateFilterSyntax
event EventHandler<TranslateFilterSyntaxEventArgs^>^ TranslateFilterSyntax
Event Data

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

Number of arguments in case a function should be translated.  
Array of arguments. In case of operators, it contains the left hand and possibly the right hand side. In case of functions, the array holds the function's parameters as used in the Designer.  
Set to true to indicate that the event has been properly handled and no further default handling should be performed.  

Name to be translated. If argumentType is e.g. Text, this object contains an index and can be set to a string to use as parameter name instead. The value of the parameter is then passed to the ApplyAdvancedFilter Method later.

In case of RelationEqual to be translated, the name might be "@ARG:MULTIVALUE". In this case, the right hand side (Arguments[1]) contains a comma separated list of values to compare to.

The kind of expression that is to be translated.  
The translated expression or null if the default handling should be used.

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

See Also