Converts a Thickness to another Thickness which is equivalent except for negating the Left and Right properties.

Namespace:  Mindscape.WpfElements.WpfPropertyGrid
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)
Visual Basic (Declaration)
Public Function Convert ( _
	value As Object, _
	targetType As Type, _
	parameter As Object, _
	culture As CultureInfo _
) As Object

Parameters

value
Type: System..::.Object
The value for which an inverted Thickness is required.
targetType
Type: System..::.Type
The type of the binding target property.
parameter
Type: System..::.Object
The converter parameter to use.
culture
Type: System.Globalization..::.CultureInfo
The culture to use in the conversion.

Return Value

A Thickness with the same Top and Bottom values as the source, but whose Left and Right values have been negated (sign inverted).

Implements

IValueConverter..::.Convert(Object, Type, Object, CultureInfo)

See Also