MudExpansionPanels API

Properties
Name Type Default Description
Behavior
ChildContent
RenderFragment
null Child content of component.
MultiExpansion
bool
False If true, multiple panels can be expanded at the same time.
Appearance
Dense
bool
False If true, removes vertical padding from all panels' MudExpansionPanels.ChildContent.
DisableBorders
bool
False If true, the borders around each panel will be removed.
DisableGutters
bool
False If true, the left and right padding is removed from all panels' MudExpansionPanels.ChildContent.
Elevation
int
1 The higher the number, the heavier the drop-shadow. 0 for no shadow.
Square
bool
False If true, border-radius is set to 0.
Common
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.
Methods
Name Parameters Return Description
Task CollapseAllAsync()
Task
Collapses all panels.
Task CollapseAllExceptAsync(MudExpansionPanel panel)
MudExpansionPanel panel : The panel not to collapse.
Task
Collapses all panels except the given one.
Task ExpandAllAsync()
Task
Expands all panels.
Task UpdateAllAsync()
Task

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.8

An error has occurred. This application may no longer respond until reloaded. Reload 🗙