'Declaration Public Overloads Shared Function TestPosition( _ ByVal popup As Windows.UI.Xaml.Controls.Primitives.Popup, _ ByVal popupAnchor As Anchor, _ ByVal element As Windows.UI.Xaml.FrameworkElement, _ ByVal elementAnchor As Anchor, _ ByVal overlapHorizontal As System.Double, _ ByVal overlapVertical As System.Double _ ) As Windows.Foundation.Point
public static Windows.Foundation.Point TestPosition( Windows.UI.Xaml.Controls.Primitives.Popup popup, Anchor popupAnchor, Windows.UI.Xaml.FrameworkElement element, Anchor elementAnchor, System.double overlapHorizontal, System.double overlapVertical )
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.
- 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 popup would be located