InverseBooleanConverter..::..ConvertBack Method

Converts a value.

Namespace:  MichaelBrandonMorris.ValueConverters
Assembly:  MichaelBrandonMorris.ValueConverters (in MichaelBrandonMorris.ValueConverters.dll)

Syntax


public Object ConvertBack(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Public Function ConvertBack ( _
	value As Object, _
	targetType As Type, _
	parameter As Object, _
	culture As CultureInfo _
) As Object
public:
Object^ ConvertBack(
	Object^ value, 
	Type^ targetType, 
	Object^ parameter, 
	CultureInfo^ culture
)

Parameters

value
Type: Object
The value that is produced by the binding target.
targetType
Type: Type
The type to convert to.
parameter
Type: Object
The converter parameter to use.
culture
Type: CultureInfo
The culture to use in the converter.

Return Value

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

Exceptions


ExceptionCondition
InvalidOperationException The target must be a bool.