Blazorise DockLayout component

Arranges docked panes around a central content surface.

API

Parameters

Parameter Description TypeDefault
ChildContent

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

RenderFragmentnull
PaneBordered

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

booltrue
SplitterThickness

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

double6
State

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.

DockLayoutStatenull

Events

Event Description Type
StateChanged

Occurs after the docking state changes.

EventCallback<DockLayoutState>

Methods

Method DescriptionReturnParameters
ClosePane Closes a pane and removes it from the visible layout. Taskstring paneName
GetState Returns a persistence snapshot of the current docking state. DockLayoutState
IsPaneOpen Indicates whether a pane is currently open. boolstring paneName
LoadState Loads a docking state and applies it to the current layout. TaskDockLayoutState state
OpenPane Opens a pane that was previously closed. Taskstring paneName
Refresh Forces rendered dock content to refresh without changing the docking state. Call this after mutating the State instance directly. Task
ResetState Resets the docking state to the latest declarative layout definition. Task
ShowPane Shows a pane by opening it, activating it, or expanding its auto-hide flyout. Taskstring paneName
TogglePane Toggles a pane between opened and closed states. Taskstring paneName
On this page