Calculates the position of a Point on the input Rect. The point's X coordinate is the XFactor fraction of the width, plus any XOffset; the point's Y coordinate is the YFactor fraction of the height, plus any YOffset.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.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 Rect value produced by the binding source.
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 Point representing a position relative to the top left of the Rect.

Implements

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

See Also