Returns a point relative to an element from a point in document coordinates.
'Declaration
Public Function GetRelativePointFromPoint( _
ByVal As System.Windows.UIElement, _
ByVal As System.Windows.Point _
) As System.Windows.Point
public System.Windows.Point GetRelativePointFromPoint(
System.Windows.UIElement ,
System.Windows.Point
)
Parameters
- root
- A System.Windows.UIElement to use as reference.
- point
- A point in document coordinates.
Return Value
A point relative to an element from a point in document coordinates.
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