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 As Windows.UI.Xaml.Controls.Primitives.Popup, _
ByVal As Anchor, _
ByVal As Windows.UI.Xaml.FrameworkElement, _
ByVal As Anchor _
)
public static void Position(
Windows.UI.Xaml.Controls.Primitives.Popup ,
Anchor ,
Windows.UI.Xaml.FrameworkElement ,
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