Blazor Menu Bar Example - Data Binding
This sample demonstrates the data source binding of the Menu component. Mouse hovering or clicking the menu item displays the submenu pop-up items.
The Menu component loads the data through the MenuItem directive, where the data can either be structured as hierarchical or self-referential data, i.e., mapped with ItemId and ParentId fields.
In this demo, the component is bound with list-type data where the parent-child relation is referred to by ItemId and ParentId mapping fields.
More information about the Blazor Menu Bar component can be found in this documentation section.