VisualElement.Layout(Rect) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在布局循环中更新元素的边界。
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
元素的新边界。
注解
调用此方法将触发此元素的子树的布局周期。