Sparkline for UWP | ComponentOne
C1.UWP Assembly / C1.Xaml Namespace / PopupUtil Class / Position Method / Position(Popup,Anchor,FrameworkElement,Anchor) Method
The popup to position.
An Anchor value specifying the point in the Popup.
The Windows.UI.Xaml.FrameworkElement to use as reference.
An Anchor value specifying the point in the FrameworkElement.

In This Topic
    Position(Popup,Anchor,FrameworkElement,Anchor) Method
    In This Topic
    Positions a Windows.UI.Xaml.Controls.Primitives.Popup so that the specified point in the Popup matches the specified point of a FrameworkElement.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Position( _
       ByVal popup As Popup, _
       ByVal popupAnchor As Anchor, _
       ByVal element As FrameworkElement, _
       ByVal elementAnchor As Anchor _
    ) 

    Parameters

    popup
    The popup to position.
    popupAnchor
    An Anchor value specifying the point in the Popup.
    element
    The Windows.UI.Xaml.FrameworkElement to use as reference.
    elementAnchor
    An Anchor value specifying the point in the FrameworkElement.
    See Also