ComboBox has the following commands:
- SelectAllCommand (ICommand): Selects all items from the source.
SelectAll command can be used only when
Multiple. An exception will be thrown, if the command is invoked in
- ClearSelectionCommand (ICommand): Sets the selection to null. If Multiple SelectionMode is used, this command will clear all selected items.
Sample example where SelectAll command is used can be found in the ComboBox How-To section ComboBox with CheckBox article.