Skip to content

FloatExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating floated widgets within float-aware containers.

csharp
public static class FloatExtensions

Inheritance

ObjectFloatExtensions

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:

Returns: FloatWidget

csharp
public static FloatWidget Float<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child) where TParent : Hex1bWidget, IFloatWidgetContainer

Released under the MIT License.