Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

List Box

v
 
3G
Bluetooth
Infrared
Memory Card Slot
QWERTY keyboard
Touch screen
USB
Voice Dialing
Wi-Fi
ModelPrice
  
Model1$100
Model2$100
Model3$150
Model4$200
Model5$200
Model6$250
Model7$300
Model8$350
Model9$350
Model10$400
Model11$400
Model12$400
Model13$450
Model14$450
Model15$500
Model16$700


The DevExpress ASP.NET MVC List Box editor allows multiple list items to be selected at the same time. The editor's Properties.SelectionMode property controls selection behavior. Depending on this property's setting, the following selection modes are available within the ListBox editor:

  • Single - End-users can select only one item within the editor.
  • Multiple - End-users can select multiple items within the editor by clicking list items while pressing Ctrl (to add an individual item) or Shift (to select a range of items).
  • CheckColumn - End-users can select multiple items within the editor by clicking list items.

When Multiple Selection is enabled, use the item's Selected property to specify individual items' selection state. Use the GetSelectedValues static method to obtain a collection of selected items. Also, to apply an item selection on the client side, use a specific client API (the editor's GetSelectedItems, SelectItems, and UnselectItems client methods).

When the CheckColumn selection mode is enabled for the list box, end-users can select all items using the "Select All" check box at the top of the list box. To enable this feature, set the Properties.EnableSelectAll option to true.

Note that in multiple selection mode, all the ListBox features are supported, with the exception of loading items on demand via callbacks.