'Declaration
Public Overloads Shared Function TestPosition( _
ByVal As Windows.UI.Xaml.FrameworkElement, _
ByVal As Anchor, _
ByVal As Windows.UI.Xaml.FrameworkElement, _
ByVal As Anchor, _
ByVal As System.Double, _
ByVal As System.Double _
) As Windows.Foundation.Point
public static Windows.Foundation.Point TestPosition(
Windows.UI.Xaml.FrameworkElement ,
Anchor ,
Windows.UI.Xaml.FrameworkElement ,
Anchor ,
System.double ,
System.double
)
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.
- 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.