VisualElement.Layout(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use ArrangeOverride instead. This method will be removed in a future version.
Updates the bounds of the element during the layout cycle.
public:
void Layout(Microsoft::Maui::Graphics::Rect bounds);
[System.Obsolete("Use ArrangeOverride instead. This method will be removed in a future version.")]
public void Layout(Microsoft.Maui.Graphics.Rect bounds);
public void Layout(Microsoft.Maui.Graphics.Rect bounds);
[<System.Obsolete("Use ArrangeOverride instead. This method will be removed in a future version.")>]
member this.Layout : Microsoft.Maui.Graphics.Rect -> unit
member this.Layout : Microsoft.Maui.Graphics.Rect -> unit
Public Sub Layout (bounds As Rect)
Parameters
- bounds
- Rect
The new bounds of the element.
- Attributes
Remarks
Calling this method will trigger a layout cycle for the sub-tree of this element.