UIElement.PointFromScreen method
Converts a point from screen coordinates in device pixels to element coordinates in DIPs.
public Point PointFromScreen(Point point)| parameter | description |
|---|---|
| point | The point in screen coordinates in device pixels. |
Return Value
Section titled “Return Value”The point in element coordinates.
Exceptions
Section titled “Exceptions”| exception | condition |
|---|---|
| InvalidOperationException | The element is not connected to a shown window. |
See Also
Section titled “See Also”- struct Point
- class UIElement
- namespace Aprillz.MewUI.Controls