Table of Contents

Interface IWrapLayout

Namespace
Nalu
Assembly
Nalu.Maui.Layouts.dll

Defines the contract for a layout that arranges its children in sequential position from left to right and top to bottom, wrapping to the next line as necessary.

public interface IWrapLayout : ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout
Inherited Members

Properties

ExpandMode

Gets the mode that defines how remaining space is distributed among items within the same line with an expand ratio greater than 0.

WrapLayoutExpandMode ExpandMode { get; }

Property Value

WrapLayoutExpandMode

HorizontalSpacing

Gets the spacing between items horizontally.

double HorizontalSpacing { get; }

Property Value

double

ItemsAlignment

Gets the alignment of items within each line.

WrapLayoutItemsAlignment ItemsAlignment { get; }

Property Value

WrapLayoutItemsAlignment

Remarks

This is only effective when there's remaining space in the line after all items have been arranged.

VerticalSpacing

Gets the spacing between items vertically.

double VerticalSpacing { get; }

Property Value

double

Methods

GetExpandRatio(IView)

Gets the expand ratio for the specified view.

double GetExpandRatio(IView view)

Parameters

view IView

The view to get the expand ratio from.

Returns

double

The expand ratio value.