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

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

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class RadDockLayoutManager : ILayoutManager

Inheritance: objectRadDockLayoutManager

Implements: ILayoutManager

Constructors

Initializes a new instance of the RadDockLayoutManager class.

C#
public RadDockLayoutManager(IRadDockLayout dockLayout)
Parameters:dockLayoutIRadDockLayout

The dock layout to manage.

Properties

Gets the dock layout being managed.

C#
public IRadDockLayout DockLayout { get; }

Methods

Arranges the child elements within the specified bounds according to their dock positions.

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.