Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1Window Class / Position Method
An Anchor value specifying the point in the window.
The System.Windows.FrameworkElement to use as reference.
An Anchor value specifying the point in the FrameworkElement.

In This Topic
    Position Method (C1Window)
    In This Topic
    Positions the window so that the specified point in the window matches the specified point of a FrameworkElement.
    Syntax
    'Declaration
     
    
    Public Sub Position( _
       ByVal windowAnchor As Anchor, _
       ByVal reference As FrameworkElement, _
       ByVal referenceAnchor As 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.
    Remarks
    If the window is not yet loaded the positioning is delayed until it's loaded.
    See Also