Blazor ListBox Example - Custom Templates
This sample demonstrates the Item template functionality in the ListBox component. Here, SVG icons are used for the visual representation of every list item.
- JavaScript It is a lightweight interpreted or JIT-compiled programming language.
- TypeScript It is a typed superset of JavaScript that compiles to plain JavaScript.
- Angular It is a TypeScript-based open-source web application framework.
- React A JavaScript library for building user interfaces. It can also render on the server using Node.
- Vue A progressive framework for building user interfaces and it is incrementally adoptable.
This sample illustrates how to integrate the ItemTemplate to customize the content of the list items. This can be specified using the ItemTemplate directive. Inside the template, you can access the data using the implicit named parameter context.
More information on the template feature configuration can be found in the documentation section.