Skip to content

WrapPanelExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating .

csharp
public static class WrapPanelExtensions

Inheritance

ObjectWrapPanelExtensions

Methods

VWrapPanel<TParent>(WidgetContext<TParent>, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]>)

Creates a vertical WrapPanel where children flow top-to-bottom and wrap to the next column when the available height is exceeded.

Parameters:

Returns: WrapPanelWidget

csharp
public static WrapPanelWidget VWrapPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]> builder) where TParent : Hex1bWidget

WrapPanel<TParent>(WidgetContext<TParent>, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]>)

Creates a horizontal WrapPanel where children flow left-to-right and wrap to the next row when the available width is exceeded.

Parameters:

Returns: WrapPanelWidget

csharp
public static WrapPanelWidget WrapPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]> builder) where TParent : Hex1bWidget

Released under the MIT License.