Sparkline for UWP | ComponentOne
C1.UWP Assembly / C1.Xaml Namespace / PopupUtil Class / TestPosition Method / TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double) Method
The element to position.
An Anchor value specifying the point in the element to position.
The Windows.UI.Xaml.FrameworkElement to use as reference.
An Anchor value specifying the point in the FrameworkElement used as reference.
The offset (absolute position) of the reference element.
The horizontal overlap between the elements (used for corner matching's).
The vertical overlap between the elements (used for corner matching's).

In This Topic
    TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double) Method
    In This Topic
    Calculates the position of a Windows.UI.Xaml.FrameworkElement so that the specified point in the FrameworkElement matches the specified point of another FrameworkElement.
    Syntax

    Parameters

    positionElement
    The element to position.
    positionAnchor
    An Anchor value specifying the point in the element to position.
    element
    The Windows.UI.Xaml.FrameworkElement to use as reference.
    elementAnchor
    An Anchor value specifying the point in the FrameworkElement used as reference.
    elementOffset
    The offset (absolute position) of the reference element.
    overlapHorizontal
    The horizontal overlap between the elements (used for corner matching's).
    overlapVertical
    The vertical overlap between the elements (used for corner matching's).

    Return Value

    The absolute point where the FrameworkElement would be located.
    See Also