There is no native multiselect combobox in WPF. Please check my blog for a simple hack using expression blend to achieve a multi selection on combobox.
http://jobijoy.blogspot.com/2009/02/simple-multiselect-combobox-using.html
The idea is to utilize the Multi-Selection feature of ListBox in to ComboBox by editing the control template.
But for accessing the selected items you might need to use the bellow line in the code.
I used an expander and filled the expander's header with the selection and the content with a list box. The list box is binded to a collection. Whenever user make a selection, I update the header to show what user has selected.
There is no native multiselect combobox in WPF. Please check my blog for a simple hack using expression blend to achieve a multi selection on combobox. http://jobijoy.blogspot.com/2009/02/simple-multiselect-combobox-using.html The idea is to utilize the Multi-Selection feature of ListBox in to ComboBox by editing the control template.
But for accessing the selected items you might need to use the bellow line in the code.
Where cmbBox is your combobox and lstBox is the ListBox inside the controltemaplate.
Another CodeProject with detailed explanations how to create a ComboBox with multiple selectable Checkboxes: Multi Select ComboBox in WPF
I found this useful information from Codeproject - ComboBoxMultiSelect
I haven't tried it myself as of yet, but would let know about my experience.
I'm not sure how a
ComboBox
would display data in this fashion, as it is designed as a single-selection Control.Maybe you are looking for something like a
ListBox
orListView
with aSelectionMode
ofMultiple
orExtended
?I used an expander and filled the expander's header with the selection and the content with a list box. The list box is binded to a collection. Whenever user make a selection, I update the header to show what user has selected.
Although I am yet to get this to work, this looks like what I need and similar to what you are looking for:Just Guy's Blog