UIElement.RectToScreen method
이 콘텐츠는 아직 번역되지 않았습니다.
Converts a rectangle from element coordinates in DIPs to screen coordinates in device pixels.
public Rect RectToScreen(Rect rect)| parameter | description |
|---|---|
| rect | The rectangle in element coordinates. |
Return Value
Section titled “Return Value”The bounding box of the rectangle in screen coordinates in device pixels.
Exceptions
Section titled “Exceptions”| exception | condition |
|---|---|
| InvalidOperationException | The element is not connected to a shown window. |
See Also
Section titled “See Also”- struct Rect
- class UIElement
- namespace Aprillz.MewUI.Controls