Positions the window so that the specified point in the window matches the specified point of a FrameworkElement.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public void Position(
	Anchor windowAnchor,
	FrameworkElement reference,
	Anchor referenceAnchor
)
Visual Basic
Public Sub Position ( _
	windowAnchor As Anchor, _
	reference As FrameworkElement, _
	referenceAnchor As Anchor _
)

Parameters

windowAnchor
Type: C1.Silverlight..::..Anchor
An Anchor value specifying the point in the window.
reference
Type: System.Windows..::..FrameworkElement
The FrameworkElement to use as reference.
referenceAnchor
Type: C1.Silverlight..::..Anchor
An Anchor value specifying the point in the FrameworkElement.

Remarks

If the window is not yet loaded the positioning is delayed until it's loaded.

See Also