[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Converters.ParameterTypeToVisibilityConverter.Convert

Convert Method

Convert(object, Type, object, CultureInfo)

Converts a parameter type to a Visibility enum value.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value

The report parameter type.

Type targetType

The type of the binding target property.

object parameter

A string indicating the editor type: "booleanEditor" for boolean, "textEditor" for float, int, or string, "dateEditor" for datetime.

CultureInfo culture

The culture to use in the converter.

Returns
Type Description
object

A Visibility value based on the parameter type and specified editor type.

Implements