ValueConverter.Convert Method
Click or drag to resize

ValueConverterConvert Method

Converts a value.

[CanBeNull]

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

Parameters

value
Type: SystemObject
The value produced by the binding source.

[NotNull]

targetType
Type: SystemType
The type of the binding target property.

[CanBeNull]

parameter
Type: SystemObject
The converter parameter to use.

[CanBeNull]

culture
Type: System.GlobalizationCultureInfo
The culture to use in the converter.

[CanBeNull]

Return Value

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