• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of API in ASP.NET Core List Box Control

This sample demonstrates the API functionalities of the ListBox component by using its properties from the property pane. Select any combination of properties from the property pane to achieve desired functionalities in ListBox.

DEMO
SOURCE
Sort order
Selection Mode

In this demo, a ListBox is rendered with grouping feature by setting the groupBy property in fields property. This sample has been showcased with following set of properties,

  • You can switch to Single or Multiple selection mode by selecting the mode from the selection mode dropdown list.
  • You can switch to None, Ascending, or Descending sort orders by selecting the sort order from the sort order dropdown list.

In this sample, by default, grouping is enabled and vegetableData is grouped based on its category. The user can change the sort order and selection type using dropdownlist.

More information about the ListBox api can be found in the Documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab