[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Converters.NullableIndexConverter.Convert

Convert Method

Convert(object, Type, object, CultureInfo)

Converts a nullable value to an index.

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

The value produced by the binding source.

Type targetType

The type of the binding target property.

object parameter

The converter parameter to use.

CultureInfo culture

The culture to use in the converter.

Returns
Type Description
object

An index value. Returns -1 if the value is null.

Implements