ZStackExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating .
csharp
public static class ZStackExtensionsInheritance
Object → ZStackExtensions
Methods
ZStack<TParent>(WidgetContext<TParent>, Func<WidgetContext<ZStackWidget>, IEnumerable<Hex1bWidget?>>)
Creates a ZStack that layers children on the Z-axis (depth). Children are rendered in order, with later children appearing on top of earlier ones. All children share the same bounds (the ZStack's bounds).
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.children(Func<ZStackWidget>, Hex1bWidget>>): A function that returns the child widgets. First = bottom, last = top.
Returns: ZStackWidget
A new ZStackWidget.
csharp
public static ZStackWidget ZStack<TParent>(this WidgetContext<TParent> ctx, Func<WidgetContext<ZStackWidget>, IEnumerable<Hex1bWidget?>> children) where TParent : Hex1bWidget