Save $100 with our Black Friday deals!

Get $100 OFF with promo code BLACKFRIDAY2024 at checkout until November 30.

See Pricing

Still using Radzen Studio?
Achieve more with Radzen Blazor Studio

Radzen Blazor Studio is our new flagship product and vision of how rapid Blazor application development should be done.

Go to Radzen Blazor Studio

Fieldset (Blazor)

This article demonstrates how to use the Fieldset component. Check also the component guide and API reference.

Fieldset Properties

Name Type Default Description
Name string ‘fieldset’ + index suffix Unique name the component.
Text string ‘Fieldset’ The header text displayed by the fieldset.
AllowCollapse boolean false Allow the user to collapse the fieldset.
Collapsed boolean false Whether the fieldset is initially collapsed or not.
Icon string null Fieldset icon.
HeaderTemplate string null Fieldset header template.
Style string null In-line CSS style.

Fieldset Events

Name Type Default Description
Collapse event null Fired when the fieldset collapses. No event arguments.
Expand event null Fired when the fieldset expands. No event arguments.

Blazor declaration

<RadzenFieldset AllowCollapse="true" Expand="@FieldsetExpanded" Collapse="@FieldsetCollapsed">
    <HeaderTemplate>
        ...
    </HeaderTemplate>
    <ChildContent>
        ...
    </ChildContent>
</RadzenFieldset>