VisualElement.Layout(Rect) 方法

定义

在布局循环中更新元素的边界。

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

参数

bounds
Rect

元素的新边界。

注解

调用此方法将触发此元素的子树的布局周期。

适用于