InverseBooleanConverter..::..Convert Method

Converts a value.

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

Syntax


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

Parameters

value
Type: Object
The value produced by the binding source.
targetType
Type: Type
The type of the binding target property.
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.