Class
RadDockLayoutManager

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

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class RadDockLayoutManager : ILayoutManager

Inheritance: objectRadDockLayoutManager

Implements: ILayoutManager

Constructors

RadDockLayoutManager(IRadDockLayout)

Initializes a new instance of the RadDockLayoutManager class.

Declaration

cs-api-definition
public RadDockLayoutManager(IRadDockLayout dockLayout)

Parameters

dockLayout

IRadDockLayout

The dock layout to manage.

Properties

DockLayout

Gets the dock layout being managed.

Declaration

cs-api-definition
public IRadDockLayout DockLayout { get; }

Property Value

IRadDockLayout

Methods

ArrangeChildren(Rect)

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

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.