VisualElement.Arrange(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.
Positions child objects and determines a size for an element.
public:
void Arrange(Microsoft::Maui::Graphics::Rect bounds);
public void Arrange (Microsoft.Maui.Graphics.Rect bounds);
member this.Arrange : Microsoft.Maui.Graphics.Rect -> unit
Public Sub Arrange (bounds As Rect)
Parameters
- bounds
- Rect
The final size that the parent computes for the child in layout, provided as a Rect value.
Remarks
Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for