MudBlazor

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective


Switch to Blazor wasm
Toggle light/dark theme
GitHub repository
Toggle right-to-left/left-to-right

Community Support

Discord

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

MudExpansionPanel

API documentation.

Check out the Examples for this component.

Properties

Name Type Default Description
MaxHeight Nullable<Int32> null Explicitly sets the height for the Collapse element to override the css default.
TitleContent RenderFragment null RenderFragment to be displayed in the expansion panel which will override header text if defined.
Text String null The text to be displayed in the expansion panel.
HideIcon Boolean False If true, expand icon will not show
Dense Boolean False If true, removes vertical padding from childcontent.
DisableGutters Boolean False If true, the left and right padding is removed from childcontent.
IsExpandedChanged EventCallback<Boolean> Raised when IsExpanded changes.
IsExpanded Boolean False Expansion state of the panel (two-way bindable)
Disabled Boolean False If true, the component will be disabled.
ChildContent RenderFragment null Child content of component.
Class String null User class names, separated by space
Style String null User styles, applied on top of the component's own classes and styles
Tag Object null Use Tag to attach any user data object to the component for your convenience.
UserAttributes Dictionary<String, Object> UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙