Positions the window so that the specified point in the window matches the specified point of a FrameworkElement.
Syntax
'Declaration
Public Sub Position( _
ByVal As Anchor, _
ByVal As System.Windows.FrameworkElement, _
ByVal As Anchor _
)
'Usage
Dim instance As C1Window
Dim windowAnchor As Anchor
Dim reference As System.Windows.FrameworkElement
Dim referenceAnchor As Anchor
instance.Position(windowAnchor, reference, referenceAnchor)
public void Position(
Anchor ,
System.Windows.FrameworkElement ,
Anchor
)
Parameters
- windowAnchor
- An Anchor value specifying the point in the window.
- reference
- The System.Windows.FrameworkElement to use as reference.
- referenceAnchor
- An Anchor value specifying the point in the FrameworkElement.
See Also