C1.Silverlight Namespace > PopupUtil Class > TestPosition Method : TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double) Method |
'Declaration
Public Overloads Shared Function TestPosition( _ ByVal positionElement As System.Windows.FrameworkElement, _ ByVal positionAnchor As Anchor, _ ByVal element As System.Windows.FrameworkElement, _ ByVal elementAnchor As Anchor, _ ByVal elementOffset As System.Windows.Point, _ ByVal overlapHorizontal As System.Double, _ ByVal overlapVertical As System.Double _ ) As System.Windows.Point
'Usage
Dim positionElement As System.Windows.FrameworkElement Dim positionAnchor As Anchor Dim element As System.Windows.FrameworkElement Dim elementAnchor As Anchor Dim elementOffset As System.Windows.Point Dim overlapHorizontal As System.Double Dim overlapVertical As System.Double Dim value As System.Windows.Point value = PopupUtil.TestPosition(positionElement, positionAnchor, element, elementAnchor, elementOffset, overlapHorizontal, overlapVertical)
public static System.Windows.Point TestPosition( System.Windows.FrameworkElement positionElement, Anchor positionAnchor, System.Windows.FrameworkElement element, Anchor elementAnchor, System.Windows.Point elementOffset, System.double overlapHorizontal, System.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