BackdropExtensions
Namespace: Hex1b
Assembly: Hex1b.dll
Extension methods for creating .
csharp
public static class BackdropExtensionsInheritance
Object → BackdropExtensions
Methods
Backdrop<TParent>(WidgetContext<TParent>, Hex1bWidget)
Creates a Backdrop with child content displayed on top. The child is centered within the backdrop.
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.child(Hex1bWidget): The child widget to display on top of the backdrop.
Returns: BackdropWidget
A new BackdropWidget with the child.
csharp
public static BackdropWidget Backdrop<TParent>(this WidgetContext<TParent> ctx, Hex1bWidget child) where TParent : Hex1bWidgetBackdrop<TParent>(WidgetContext<TParent>)
Creates a Backdrop that fills available space and intercepts all input. Use this to create modal overlays that prevent interaction with layers below.
Parameters:
ctx(WidgetContext<<TParent>>): The widget context.
Returns: BackdropWidget
A new BackdropWidget.
csharp
public static BackdropWidget Backdrop<TParent>(this WidgetContext<TParent> ctx) where TParent : Hex1bWidget