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.
Inheritance
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadWrapLayout : Layout, IRadWrapLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding
Constructors
RadWrapLayout()
Declaration
public RadWrapLayout()
Fields
ItemHeightProperty
Implements the bindable property that specify the height of each view during measure and layout.
Declaration
public static readonly BindableProperty ItemHeightProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemWidthProperty
Implements the bindable property that specify the width of each view during measure and layout.
Declaration
public static readonly BindableProperty ItemWidthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OrientationProperty
Implements the bindable property that specify the orientation of RadWrapLayout.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StretchLastChildProperty
Implements the bindable property that specify if the last visible child should take remaining space.
Declaration
public static readonly BindableProperty StretchLastChildProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ItemHeight
Gets or sets the height with which each view will be measured and layout.
Declaration
public double ItemHeight { get; set; }
Property Value
System.Double
|
Implements
ItemWidth
Gets or sets the width with which each view will be measured and layout.
Declaration
public double ItemWidth { get; set; }
Property Value
System.Double
|
Implements
Orientation
Gets or sets the orientation of the RadWrapLayout.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
|
Implements
StretchLastChild
Gets or sets whether last visible child will be given the whole remaining space during layout.
Declaration
public bool StretchLastChild { get; set; }
Property Value
System.Boolean
|
Implements
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
protected override ILayoutManager CreateLayoutManager()
Returns
Microsoft.Maui.Layouts.ILayoutManager
|