Class
RadWrapLayout

A layout that position each child either horizontally or vertically and wraps them when there is no more space in the current orientation.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadWrapLayout : Layout, IRadWrapLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout

Inheritance: objectRadWrapLayout

Implements: ICollection<IView>IContainerICrossPlatformLayoutIElementIEnumerableIEnumerable<IView>ILayoutIList<IView>IPaddingIRadWrapLayoutISafeAreaViewITransformIView

Constructors

RadWrapLayout()

Initializes a new instance of the RadWrapLayout class.

Declaration

cs-api-definition
public RadWrapLayout()

Fields

ItemHeightProperty

Implements the bindable property that specify the height of each view during measure and layout.

Declaration

cs-api-definition
public static readonly BindableProperty ItemHeightProperty

Field Value

BindableProperty

ItemWidthProperty

Implements the bindable property that specify the width of each view during measure and layout.

Declaration

cs-api-definition
public static readonly BindableProperty ItemWidthProperty

Field Value

BindableProperty

OrientationProperty

Implements the bindable property that specify the orientation of RadWrapLayout.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

StretchLastChildProperty

Implements the bindable property that specify if the last visible child should take remaining space.

Declaration

cs-api-definition
public static readonly BindableProperty StretchLastChildProperty

Field Value

BindableProperty

Properties

ItemHeight

Gets or sets the height with which each view will be measured and layout.

Declaration

cs-api-definition
public double ItemHeight { get; set; }

Property Value

double

Implements IRadWrapLayout.ItemHeight

ItemWidth

Gets or sets the width with which each view will be measured and layout.

Declaration

cs-api-definition
public double ItemWidth { get; set; }

Property Value

double

Implements IRadWrapLayout.ItemWidth

Orientation

Gets or sets the orientation of the RadWrapLayout.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Implements IRadWrapLayout.Orientation

StretchLastChild

Gets or sets whether last visible child will be given the whole remaining space during layout.

Declaration

cs-api-definition
public bool StretchLastChild { get; set; }

Property Value

bool

Implements IRadWrapLayout.StretchLastChild

Remarks

When true and RadWrapLayout is given more size than needed the last visible child will be layout with the remaining size.

Methods

CreateLayoutManager()

Declaration

cs-api-definition
protected override ILayoutManager CreateLayoutManager()

Returns

ILayoutManager