Layout.LayoutChildIntoBoundingRegion(VisualElement, Rect) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
Use the Arrange method on child instead.
자식 요소 HorizontalOptions 및 VerticalOptions를 유지하는 동안 자식 요소를 범위 지역으로 배치합니다.
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
자식을 배치해야 하는 범위 지역입니다.
- 특성
설명
이 메서드는 각 자식에 대한 일반 영역이 계산된 후 레이아웃 주기에서 호출됩니다. 이 메서드는 지정된 경계 영역이 자식의 원하는 크기보다 큰 경우 지정된 경계 영역을 기준으로 요소의 위치를 지정하는 작업을 처리합니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI