콘텐츠로 이동

UIElement.RectFromScreen method

이 콘텐츠는 아직 번역되지 않았습니다.

Converts a rectangle from screen coordinates in device pixels to element coordinates in DIPs.

public Rect RectFromScreen(Rect rect)
parameter description
rect The rectangle in screen coordinates in device pixels.

The bounding box of the rectangle in element coordinates.

exception condition
InvalidOperationException The element is not connected to a shown window.