VisualElement.ArrangeOverride(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.
Allows subclasses to implement custom Arrange logic during a controls layout pass.
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.
Remarks
Subclasses will stil want to call ArrangeOverride(Rect) on the base class or call PlatformArrange(Rect) on the Handler .
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.