Method Convert
Convert(object, Type, object, CultureInfo)
Converts a value from the binding source to the binding target.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
objectThe value produced by the binding source.
targetType
TypeThe type of the binding target property.
parameter
objectThe converter parameter to use.
culture
CultureInfoThe culture to use in the converter.
Returns
- object
A converted value. If the method returns null, the valid null value is used.