共用方式為


IView.Arrange(Rect) Method

Definition

Positions child elements and determines a size for an Element.

public:
 Microsoft::Maui::Graphics::Size Arrange(Microsoft::Maui::Graphics::Rect bounds);
public Microsoft.Maui.Graphics.Size Arrange (Microsoft.Maui.Graphics.Rect bounds);
abstract member Arrange : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
Public Function Arrange (bounds As Rect) As Size

Parameters

bounds
Rect

The size that the parent computes for the child element.

Returns

Return the actual arranged Size for this element.

Applies to