Share via


IValueConverter.Convert(Object, Type, Object, CultureInfo) Method

Definition

Implement this method to convert value to targetType by using parameter and culture.

public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj

Parameters

value
System.Object

The value to convert.

targetType
System.Type

The type to which to convert the value.

parameter
System.Object

A parameter to use during the conversion.

culture
System.Globalization.CultureInfo

The culture to use during the conversion.

Returns

System.Object

Applies to