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 ListBox
is 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.