Page layouts
PageLayoutControl · SplitterControl · DashboardLayoutControl · GridLayoutControl · StackLayoutControlLay out an app shell with collapsible panels, a splitter and a dashboard of tiles.
Overview
Blazor layout controls divide a page: PageLayoutControl adds collapsible side panels, SplitterControl a draggable bar between two panes, and DashboardLayoutControl a grid of tiles. Use them for an app shell with navigation and detail panes, or a dashboard of KPI cards; inside a panel, GridLayoutControl and StackLayoutControl write a CSS grid or a flex row from their parameters.
Examples
#Application shell: panels and a splitter
Hide a side panel with the two sidebar buttons beside the detail heading, drag the splitter or move it with the arrow keys; the panels are wired together, so click around.
#Dashboard grid
Click a KPI card, such as Bookings, to expand it across the row; each panel is placed by Row, Column, SizeX and SizeY.
#Grid and stack layouts
Change the column count; at 600 px or narrower the grid drops to one column, and the switch turns wrapping off in the services stack.