C1.WPF Namespace > PopupUtil Class > TestPosition Method : TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Double,Double) Method |
'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
'Usage
Dim positionElement As FrameworkElement Dim positionAnchor As Anchor Dim element As FrameworkElement Dim elementAnchor As Anchor Dim overlapHorizontal As Double Dim overlapVertical As Double Dim value As Point value = PopupUtil.TestPosition(positionElement, positionAnchor, element, elementAnchor, overlapHorizontal, overlapVertical)
public static Point TestPosition( FrameworkElement positionElement, Anchor positionAnchor, FrameworkElement element, Anchor elementAnchor, double overlapHorizontal, double overlapVertical )
public: static Point TestPosition( FrameworkElement^ positionElement, Anchor positionAnchor, FrameworkElement^ element, Anchor elementAnchor, double overlapHorizontal, double overlapVertical )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2