FloatExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating floated widgets within float-aware containers.
csharp
public static class FloatExtensionsInheritance
Object → FloatExtensions
Methods
Float<TParent>(WidgetContext<TParent>, Hex1bWidget)
Wraps a widget in a , removing it from the container's normal layout flow. The float can then be positioned with or anchor alignment methods like .
Parameters:
ctx(WidgetContext<<TParent>>):child(Hex1bWidget):
Returns: FloatWidget
csharp
public static FloatWidget Float<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child) where TParent : Hex1bWidget, IFloatWidgetContainer