MultiSelect

The MultiSelect control allows you to select multiple items from drop-down lists that contain custom objects or simple strings.

The MultiSelect control extends ComboBox, so the object model should be familiar to Wijmo developers. The main properties are itemsSource, displayMemberPath, and checkedMemberPath. The items currently selected can be obtained using the checkedItems property.

The control header is fully customizable. By default, it shows up to two items selected and the item count after that. You can change the maximum number of items to display, the message shown when no items are selected, and the format string used to show the item count. Or you can provide a function to generate the header content based on the current selection.

Notice how the drop-down list supports the keyboard, including auto-search.

Here is a MultiSelect bound to a collection of objects:

  1. {{item.country}}

Here is a MultiSelect bound to an array of strings:

  1. {{item}}