다음을 통해 공유


Layout.LayoutChildIntoBoundingRegion(VisualElement, Rect) 메서드

정의

주의

Use the Arrange method on child instead.

자식 요소 HorizontalOptionsVerticalOptions를 유지하는 동안 자식 요소를 범위 지역으로 배치합니다.

public:
 static void LayoutChildIntoBoundingRegion(Microsoft::Maui::Controls::VisualElement ^ child, Microsoft::Maui::Graphics::Rect region);
public static void LayoutChildIntoBoundingRegion (Microsoft.Maui.Controls.VisualElement child, Microsoft.Maui.Graphics.Rect region);
[System.Obsolete("Use the Arrange method on child instead.")]
public static void LayoutChildIntoBoundingRegion (Microsoft.Maui.Controls.VisualElement child, Microsoft.Maui.Graphics.Rect region);
static member LayoutChildIntoBoundingRegion : Microsoft.Maui.Controls.VisualElement * Microsoft.Maui.Graphics.Rect -> unit
[<System.Obsolete("Use the Arrange method on child instead.")>]
static member LayoutChildIntoBoundingRegion : Microsoft.Maui.Controls.VisualElement * Microsoft.Maui.Graphics.Rect -> unit
Public Shared Sub LayoutChildIntoBoundingRegion (child As VisualElement, region As Rect)

매개 변수

child
VisualElement

위치가 지정될 자식 요소입니다.

region
Rect

자식을 배치해야 하는 범위 지역입니다.

특성

설명

이 메서드는 각 자식에 대한 일반 영역이 계산된 후 레이아웃 주기에서 호출됩니다. 이 메서드는 지정된 경계 영역이 자식의 원하는 크기보다 큰 경우 지정된 경계 영역을 기준으로 요소의 위치를 지정하는 작업을 처리합니다.

적용 대상