.NET MAUI ComboBox Commands
ComboBox has the following commands:
-
SelectAllCommand
(ICommand
): Selects all items from the source.
SelectAll command can be used only when
SelectionMode
isMultiple
. An exception will be thrown, if the command is invoked inSingle
SelectionMode
.
-
ClearSelectionCommand
(ICommand): Sets the selection to null. If Multiple SelectionMode is used, this command will clear all selected items.