Element.TranslateRect method
Converts a rectangle in this element’s coordinate space to the specified element’s coordinate space.
public Rect TranslateRect(Rect rect, Element relativeTo)Exceptions
Section titled “Exceptions”| exception | condition |
|---|---|
| InvalidOperationException | The elements are not in the same visual tree. |
See Also
Section titled “See Also”- struct Rect
- class Element
- namespace Aprillz.MewUI.Controls