Status bar

StatusBarControl

Keep users informed at the foot of a window: connection, save state, counts and totals.

Overview

StatusBarControl is a Blazor status bar: a row of panels along the foot of a window that tells users where things stand. Use it on editors and data-entry screens for the connection, whether the work is saved, and how many rows are selected, in one 28px row along the bottom. Fill it from a Panels list of icon-and-text panels, add your own markup as ChildContent for live counts and totals, or use both.

Examples

#Panels from a list

Type a note for the putaway team, press Save, then go offline (Save waits until you are back online): change a panel's Text or IconCss and the bar follows, CssClass tints the whole bar, the Spring panel fills the spare width, and the fixed-width ones show a Tooltip on hover.

Receiving PO-2291, Dock 2, Road freight
Online
No changes
4 lines
USD

#Live counts and totals

Check the lines of PO-2291 that arrived: the count and the total are your own panels in ChildContent, which the bar renders after the panel from the list.

Received by Albus Door
2 of 4 lines received
Total received: $7,390

Documentation

ParameterTypeDefaultDescription
PanelsList<StatusBarPanel>?nullPanels drawn in order, each an icon and a line of text.
ChildContentRenderFragment?nullYour own markup, placed after the panels. It takes this page's styles, not the control's.
CssClassstring?nullAppended after fx-statusbar. The control has no Style and accepts no other attributes.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.