콘텐츠로 이동

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.

The bounding box of the rectangle in screen coordinates in device pixels.

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