Version

TransformPointToAncestorCoordinates Method

Transforms a point to its ancestor's coordinates
Syntax
'Declaration
 
Public Shared Function TransformPointToAncestorCoordinates( _
   ByVal pointToTransform As Point, _
   ByVal descendantVisual As Visual, _
   ByVal ancestorVisual As Visual _
) As Point
public static Point TransformPointToAncestorCoordinates( 
   Point pointToTransform,
   Visual descendantVisual,
   Visual ancestorVisual
)

Parameters

pointToTransform
descendantVisual
ancestorVisual
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also