WrapPanelExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating .
csharp
public static class WrapPanelExtensionsInheritance
Object → WrapPanelExtensions
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:
ctx(WidgetContext<<TParent>>):builder(Func<WrapPanelWidget>, Hex1bWidget[]>):
Returns: WrapPanelWidget
csharp
public static WrapPanelWidget VWrapPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]> builder) where TParent : Hex1bWidgetWrapPanel<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:
ctx(WidgetContext<<TParent>>):builder(Func<WrapPanelWidget>, Hex1bWidget[]>):
Returns: WrapPanelWidget
csharp
public static WrapPanelWidget WrapPanel<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<WrapPanelWidget>, Hex1bWidget[]> builder) where TParent : Hex1bWidget