Blazorise Collapse API

Explore the Blazorise Collapse API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Collapse documentation.

API

Parameters

Collapse

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Collapse.

RenderFragmentnull
Visible

Specifies the collapse visibility state.

boolfalse

CollapseHeader

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this CollapseHeader.

RenderFragmentnull

CollapseBody

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this CollapseBody.

RenderFragmentnull

Events

Collapse

Event Description Type
VisibleChanged

Notifies when the collapse visibility state changes.

EventCallback<bool>

CollapseHeader

Event Description Type
Clicked

Notifies when the header is clicked.

EventCallback<MouseEventArgs>

Methods

Collapse

Method DescriptionReturnParameters
Toggle Toggles the collapse visibility state. Task
On this page