Click or drag to resize

ObjectToDescriptionConverterConvert Method (Object, Type, Object, CultureInfo)

Converts a value. UnSet is unchanged, null becomes an empty string.

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
protected override Object Convert(
	Object? value,
	Type? targetType,
	Object? parameter,
	CultureInfo? culture
)

Parameters

value
Type: SystemObject
The value produced by the binding source.
targetType
Type: SystemType
The type of the binding target property.
parameter
Type: SystemObject
The converter parameter to use.
culture
Type: System.GlobalizationCultureInfo
The culture to use in the converter.

Return Value

Type: Object
A converted value. If the method returns null, the valid null value is used.
See Also