Blazor ListBox Example - API Methods

ListBox / API

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 the ListBox component.

Loading Syncfusion Blazor Server Demos…

Sort Order
Selection Mode

In this demo, ListBox is rendered with the grouping feature by setting the GroupBy property in the ListBoxFieldSettings property. This sample has been showcased with the 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, grouping is enabled by default, and vegetableData is grouped based on its category. The user can change the sort order and selection type using the dropdown list.

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

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE