Blazorise Collapse component

Toggle visibility of almost any content on your pages in a vertically collapsing container.

API

Parameters

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Collapse.

RenderFragmentnull
Visible

Gets or sets the collapse visibility state.

boolfalse

Events

Event Description Type
VisibleChanged

Occurs when the collapse visibility state changes.

EventCallback<bool>

Methods

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