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.
Updates the bounds of the element during the layout cycle.
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)
Parameters
- bounds
- Rect
The new bounds of the element.
Remarks
Calling this method will trigger a layout cycle for the sub-tree of this element.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.