Method Convert
Convert(Object, Type, Object, CultureInfo)
Converts a value.
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 | A converted value. If the method returns null, the valid null value is used. |