UXListBox has three selection modes such as discussed in the following list.
In single mode, you can select only one item at a time.
In multiple mode, you can select multiple items. Clicking an unselected item will make it selected and clicking on selected item will make it unselected.
In extended mode, you can select multiple items using a combination of Ctrl and / or Shift key similar to Windows operating system.
Using Keyboard to Perform Selection
You can navigate between items by using arrow keys in the keyboard. In Single mode, navigating between items will change the selection immediately.
In Multiple mode you, need to use SpaceBar to select or unselect an item. You use arrow keys to navigate between the items in the list box.
To bind the data, you can either use ItemTemplate or the member path properties such as:
Used to bind the Content property.
Used to bind the Icon property.
The following example shows how to perform binding to UXListBox using the member path properties.
This example is using MVVM pattern that uses an advanced data binding concept. To learn more about MVVM pattern, see MVVM Pattern Overview.
To enable case sensitivity in the text search, you set the IsTextSearchCaseSensitity property to true.
For more information about user experience features such as text search, see User Experiences Overview.