ConverterBaseConvert Method

Converts the binding source to target.

Definition

Namespace: Common.Wpf.Converters
Assembly: Common.Wpf.Resources (in Common.Wpf.Resources.dll) Version: 2.0.6
C#
public abstract Object? Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value  Object
The value produced by the binding source.
targetType  Type
The type of the binding target property.
parameter  Object
The converter parameter to use.
culture  CultureInfo
The culture to use in the converter.

Return Value

Object
A converted value. If the method returns , the valid null value is used.

Implements

IValueConverterConvert(Object, Type, Object, CultureInfo)

Remarks

The data binding engine calls this method when it propagates a value from the binding source to the binding target.

See Also