VisualElement.Arrange(Rect) Method

Definition

Positions child objects and determines a size for an element.

public:
 void Arrange(Microsoft::Maui::Graphics::Rect bounds);
public void Arrange (Microsoft.Maui.Graphics.Rect bounds);
member this.Arrange : Microsoft.Maui.Graphics.Rect -> unit
Public Sub Arrange (bounds As Rect)

Parameters

bounds
Rect

The final size that the parent computes for the child in layout, provided as a Rect value.

Remarks

Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update.

Applies to