Blazorise DockLayout component

Arranges docked panes around a central content surface.

API

Parameters

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the panes and content to be rendered inside the dock layout.
PaneBorderedtruebool

Defines whether non-document panes should render a visible border.
SplitterThickness6double

Defines the thickness, in pixels, of the splitters between dock panes.
StatenullDockLayoutState

Defines the mutable state used for docking, resizing, active tabs, and pane visibility. The same state can be saved with GetState and restored with DockLayoutState). Declarative values initialize this state and are reapplied by ResetState. In-place changes to the assigned instance are not detected; apply them with DockLayoutState) or follow them with Refresh.

Events

EventType
StateChangedEventCallback<DockLayoutState>

Occurs after the docking state changes.

Methods

MethodReturnParameters
ClosePaneTaskstring paneName

Closes a pane and removes it from the visible layout.
GetStateDockLayoutState—

Returns a persistence snapshot of the current docking state.
IsPaneOpenboolstring paneName

Indicates whether a pane is currently open.
LoadStateTaskDockLayoutState state

Loads a docking state and applies it to the current layout.
OpenPaneTaskstring paneName

Opens a pane that was previously closed.
RefreshTask—

Forces rendered dock content to refresh without changing the docking state. Call this after mutating the State instance directly.
ResetStateTask—

Resets the docking state to the latest declarative layout definition.
ShowPaneTaskstring paneName

Shows a pane by opening it, activating it, or expanding its auto-hide flyout.
TogglePaneTaskstring paneName

Toggles a pane between opened and closed states.