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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.