• Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • Fabric
  • Fabric Dark
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

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.