Class
RadWrapLayoutManager

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

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class RadWrapLayoutManager : ILayoutManager

Inheritance: objectRadWrapLayoutManager

Implements: ILayoutManager

Constructors

RadWrapLayoutManager(IRadWrapLayout)

Initializes a new instance of the RadWrapLayoutManager class.

Declaration

cs-api-definition
public RadWrapLayoutManager(IRadWrapLayout wrapLayout)

Parameters

wrapLayout

IRadWrapLayout

The wrap layout to manage.

Properties

WrapLayout

Gets the wrap layout being managed.

Declaration

cs-api-definition
public IRadWrapLayout WrapLayout { get; }

Property Value

IRadWrapLayout

Methods

ArrangeChildren(Rect)

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

Declaration

cs-api-definition
public Size ArrangeChildren(Rect bounds)

Parameters

bounds

Rect

The bounds within which to arrange the children.

Returns

Size

A Size representing the actual size used by the layout.

Measure(double, double)

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

Declaration

cs-api-definition
public Size Measure(double widthConstraint, double heightConstraint)

Parameters

widthConstraint

double

The available width for the layout.

heightConstraint

double

The available height for the layout.

Returns

Size

A Size representing the desired size of the layout.