Example of Template in ASP.NET Core List Box Control

This sample demonstrates the Template of a ListBox. Here, SVG icons were used for visual representation of every list items.

DEMO
SOURCE

The ListBoxis a graphical user interface component used to display a list of items. This sample illustrates how to integrate the item template to customize the list item's content and this can be specified by using ItemTemplate property.

In this sample, data is bound to the ListBox using the dataSource property.

More information about the ListBox can be found in the documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE