콘텐츠로 이동

Element.Bounds property

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

Gets the bounds from the arrange pass in window coordinates, not the parent’s, left untransformed under an element that transforms its children.

[EditorBrowsable(EditorBrowsableState.Never)]
public Rect Bounds { get; }

Panels arrange children by offsetting from their own window-absolute bounds, so custom panels must pass window-absolute rects to Arrange. TranslatePoint and TranslateRect follow any child transform. Prefer RenderSize for WPF-like usage.