Skip to content

Element.TranslatePoint method

Converts a point in this element’s coordinate space to the specified element’s coordinate space.

public Point TranslatePoint(Point point, Element relativeTo)
exception condition
InvalidOperationException The elements are not in the same visual tree.