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