MatBlazor - Material Design components for Blazor and Razor Components

MatExpansionPanel

MatExpansionPanel provides an expandable details-summary view.

Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatExpansionPanel
Class String Specifies one or more classnames for an DOM element.
Expanded Boolean
ExpandedChanged EventCallback<Boolean>
HideToggle Boolean Hides the toggle icon in the expansion panel summary
Id String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
MatAccordion
Name Type Description
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
ChildContent RenderFragment Child content of MatAccordion
Class String Specifies one or more classnames for an DOM element.
HideToggle Boolean Hides toggle icon for all expansion panel summaries in the accordion
Id String
Multi Boolean
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
Example
Self aware panel
Currently I am closed

I'm visible because I am open

Personal data
Type your name and age
Multi
Panel 0

Content of panel 0

Panel 1

Content of panel 1

Panel 2

Content of panel 2

Panel 3

Content of panel 3

Panel 4

Content of panel 4

Panel 5

Content of panel 5

Panel 6

Content of panel 6

Panel 7

Content of panel 7

Panel 8

Content of panel 8

Panel 9

Content of panel 9

If you like MatBlazor, please put a star on GitHub.