New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides layout management functionality for wrap-style layouts, implementing the ILayoutManager interface.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class RadWrapLayoutManager : ILayoutManager

Inheritance: objectRadWrapLayoutManager

Implements: ILayoutManager

Constructors

Initializes a new instance of the RadWrapLayoutManager class.

C#
public RadWrapLayoutManager(IRadWrapLayout wrapLayout)
Parameters:wrapLayoutIRadWrapLayout

The wrap layout to manage.

Properties

Gets the wrap layout being managed.

C#
public IRadWrapLayout WrapLayout { get; }

Methods

Arranges the child elements within the specified bounds according to the wrap layout configuration.

C#
public Size ArrangeChildren(Rect bounds)
Parameters:boundsRect

The bounds within which to arrange the children.

Returns:

Size

A Size representing the actual size used by the layout.

Measures the layout and returns the desired size based on the available constraints.

C#
public Size Measure(double widthConstraint, double heightConstraint)
Parameters:widthConstraintdouble

The available width for the layout.

heightConstraintdouble

The available height for the layout.

Returns:

Size

A Size representing the desired size of the layout.