Blazorise Layout API
Explore the Blazorise Layout API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Layout documentation.
API
Parameters
Layout
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to be rendered inside this Layout. | ||
Loading | false | bool |
If true, an overlay will be created so the user cannot click anything until set to false. | ||
LoadingClass | — | string |
Sets the custom classname for loading element. | ||
LoadingTemplate | null | RenderFragment |
Specifies the content to be rendered the loading container. | ||
Sider | false | bool |
Indicates that layout will contain sider container. | ||
LayoutHeader
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to be rendered inside this LayoutHeader. | ||
Fixed | false | bool |
If true header will be fixed to the top of the page. | ||
LayoutFooter
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to be rendered inside this LayoutFooter. | ||
Fixed | false | bool |
If true footer will be fixed to the bottom of the page. | ||
Events
Layout
| Event | Type |
|---|---|
LoadingChanged | EventCallback<bool> |
Notifies when loading state had changed. | |