Skip to content

NotificationPanelExtensions ​

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for creating notification panel widgets in widget contexts.

csharp
public static class NotificationPanelExtensions

Inheritance ​

Object → NotificationPanelExtensions

Methods ​

NotificationPanel<T>(WidgetContext<T>, Hex1bWidget, int) ​

Creates a notification panel with a custom maximum number of floating notifications.

Parameters:

  • context (WidgetContext<<T>>): The widget context.
  • content (Hex1bWidget): The main content to display.
  • maxFloating (Int32): Maximum number of floating notifications visible at once.

Returns: NotificationPanelWidget

A notification panel widget.

csharp
public static NotificationPanelWidget NotificationPanel<T>(this WidgetContext<T> context, Hex1bWidget content, int maxFloating) where T : Hex1bWidget

NotificationPanel<T>(WidgetContext<T>, Hex1bWidget) ​

Creates a notification panel that displays floating notifications and a slide-out drawer.

Parameters:

  • context (WidgetContext<<T>>): The widget context.
  • content (Hex1bWidget): The main content to display (notifications overlay on top).

Returns: NotificationPanelWidget

A notification panel widget that can be further configured.

csharp
public static NotificationPanelWidget NotificationPanel<T>(this WidgetContext<T> context, Hex1bWidget content) where T : Hex1bWidget

Released under the MIT License.