'Declaration
Public Overloads Shared Function TestPosition( _ ByVal positionElement As FrameworkElement, _ ByVal positionAnchor As Anchor, _ ByVal element As FrameworkElement, _ ByVal elementAnchor As Anchor, _ ByVal overlapHorizontal As Double, _ ByVal overlapVertical As Double _ ) As Point
public static Point TestPosition( FrameworkElement positionElement, Anchor positionAnchor, FrameworkElement element, Anchor elementAnchor, double overlapHorizontal, double overlapVertical )
Parameters
- positionElement
- The element to position.
- positionAnchor
- An Anchor value specifying the point in the element to position.
- element
- The System.Windows.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.