StringToDateTimeConvertBack Method

Converts the binding target back to source.

Definition

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

Parameters

value  Object
The value that is produced by the binding target.
targetType  Type
The type to convert to.
parameter  Object
A custom date format string can be provided in the converter parameter.
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

IValueConverterConvertBack(Object, Type, Object, CultureInfo)

Remarks

The data binding engine calls this method when it propagates a value from the binding target to the binding source. The implementation of this method must be the inverse of the Convert method.

See Also