The dropdown should display checkboxes next to each item to show which ones are selected or not.
About the new properties, I find "MultipleSelection" being a boolean more user friendly and easier to discover, but given other existing implementations in avalonia it might tempt you to use: SelectionMode="Multiple", but that makes it harder to figure out the keyword "Multiple" when we just need a boolean and everyone is familiar with "true/false".
Is your feature request related to a problem? Please describe.
A multi selection combo-box is usually part of UI framework's base components, here are some examples from other UI frameworks:
Describe the solution you'd like
Add an option to the
ComboBox
to make it multi selection by accepting 2 new properties:SelectedItems
andMultipleSelection
.The dropdown should display checkboxes next to each item to show which ones are selected or not.
About the new properties, I find "
MultipleSelection
" being a boolean more user friendly and easier to discover, but given other existing implementations in avalonia it might tempt you to use:SelectionMode="Multiple"
, but that makes it harder to figure out the keyword "Multiple" when we just need a boolean and everyone is familiar with "true/false".Describe alternatives you've considered
No response
Additional context
No response