Skip to content

ComboBox which is filterable and multiselect capable? #3354

Closed Answered by Keboo
tblong asked this question in Q&A
Discussion options

You must be logged in to vote

It is an interesting idea that I have seen asked for a few times.
Personally if I were to go build something, I would not try to make the ComboBox work and instead put it together from its individual pieces.
A ItemsSource with a WrapPanel for the top section that displays selection. I would do an ItemTemplate to get that pill look with the X to remove. A ToggleButton styled to look like a combo box arrow. A Popup with its IsOpen property bound to the toggle button. And an ItemsSource with a ScrollViewer inside of the popup to display the individual items. Then it would be a matter of getting things all wired.

The image seems to imply the user can type in the top section but I would not do…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tblong
Comment options

@Keboo
Comment options

Answer selected by tblong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants