New to Telerik UI for Blazor? Download Free 30-day trial
ListBox - Templates
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Peter Franken
Maurizio Moroni
Paula Wilson
Sergio Gutiérrez
Horst Kloss
Lúcia Carvalho
Bernardo Batista
Isabel de Castro
Georg Pipps
Guillermo Fernández
Marie Bertrand
Henriette Pfalzheim
Rene Phillips
Yvonne Moncada
Simon Crowther
Alexander Feuer
Jean Fresnière
Catherine Dewey
Giovanni Rovelli
Fran Wilson
Assign developers to the project
- Templates.razor
- CustomerService.cs
- CustomerDto.cs
Loading the demo source code...please wait.
Description
The Telerik UI for Blazor ListBox component exposes several templates that allow you to customize the rendering of its elements.
Use the ItemTemplate
to define custom rendering for the items in the list. When the ListBox is empty, you can declare the NoDataTemplate
to alter the appearance of the empty component.
This Blazor ListBox Templates example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.