Skip to content

DevExpress-Examples/blazor-form-layout-collapsible-groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form Layout for Blazor – Collapsible groups

This example demonstrates how to use the DxFormLayout component to implement collapsible groups.

Collapsible groups with validation

Use the Expanded property to change the expand state and handle the ExpandedChanged event to react to state changes. To allow users to expand and collapse groups from the UI, specify the ExpandButtonDisplayMode property. You can also specify the ExpandButtonCssClass and CollapseButtonCssClass properties to apply custom icons to the expand button.

In this example, a user can expand and collapse groups to enter editor values by section. If validation fails on the Submit button click, the Form Layout component opens all groups.

Files to Review

Index.razor

Documentation

DxFormLayout

More Examples

Tabbed Wizard