VisualElement.ArrangeOverride(Rect) Method

Definition

Allows subclasses to override Arrange(Rect) even though the interface has to be explicitly implemented to avoid conflict with the old Arrange(Rect) method.

protected:
 virtual Microsoft::Maui::Graphics::Size ArrangeOverride(Microsoft::Maui::Graphics::Rect bounds);
protected virtual Microsoft.Maui.Graphics.Size ArrangeOverride (Microsoft.Maui.Graphics.Rect bounds);
abstract member ArrangeOverride : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
override this.ArrangeOverride : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Graphics.Size
Protected Overridable Function ArrangeOverride (bounds As Rect) As Size

Parameters

bounds
Rect

The new bounds of the element.

Returns

The resulting size of this element's frame by the platform.

Applies to