GridExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating instances using the fluent builder API.
csharp
public static class GridExtensionsInheritance
Object → GridExtensions
Methods
Grid<TParent>(WidgetContext<TParent>, Func<GridContext, GridCellWidget[]>)
Creates a grid layout where cells are positioned explicitly using row/column indices.
Parameters:
ctx(WidgetContext<<TParent>>): The parent widget context.builder(Func<GridContext, GridCellWidget[]>): A callback that receives a and returns an array of .
Returns: GridWidget
A configured .
csharp
public static GridWidget Grid<TParent>(this WidgetContext<TParent> ctx, Func<GridContext, GridCellWidget[]> builder) where TParent : Hex1bWidget