Skip to content

WrapPanelWidget

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

A layout panel that arranges children sequentially and wraps to the next row (horizontal) or column (vertical) when the available space is exceeded. Works best with uniformly-sized children and is typically placed inside a .

csharp
public sealed record WrapPanelWidget : Hex1bWidget, IEquatable<Hex1bWidget>, IEquatable<WrapPanelWidget>

Inheritance

ObjectHex1bWidgetWrapPanelWidget

Implements

Constructors

WrapPanelWidget(IReadOnlyList<Hex1bWidget>)

A layout panel that arranges children sequentially and wraps to the next row (horizontal) or column (vertical) when the available space is exceeded. Works best with uniformly-sized children and is typically placed inside a .

Parameters:

csharp
public WrapPanelWidget(IReadOnlyList<Hex1bWidget> Children)

Properties

Children

The child widgets to lay out.

Returns: IReadOnlyList<Hex1bWidget>

csharp
public IReadOnlyList<Hex1bWidget> Children { get; init; }

Fields

FocusNextAction

Returns: ActionId

csharp
public static readonly ActionId FocusNextAction

FocusPreviousAction

Returns: ActionId

csharp
public static readonly ActionId FocusPreviousAction

Released under the MIT License.