Blazor Dropdown List Example - Custom Templates
This sample demonstrates the template functionalities of the DropDownList. Click the DropDownList component and select an item from the customized dropdown list.
The DropDownList provides options to customize each list item, group title, header and footer elements. This sample uses the following list of templates,
- ItemTemplate - To customize the list item's content.
- HeaderTemplate - To customize the dropdown header element.
- ValueTemplate - To customize the value element that holds the selected item's text.
See also