Javidan
Javidan

Reputation: 594

How to create combobox when selected item it adds this anywhere?

enter image description here

How to this for combobox?I have long stackpanel which first it has only combobox.And when i select anything from combobox it will be added as button or other thing like on the picture.And it can be closed

[EDIT] I need anything on WPF

Upvotes: 1

Views: 309

Answers (3)

Paul C
Paul C

Reputation: 4776

This should do the job nicely in WPF; http://www.codeproject.com/KB/WPF/MultiComboBox.aspx

MultiComboBox

The combo box that ships with WPF does not support selecting multiple items... This article describes a WPF combo box that supports both. It also describes a list box, which the combo box inherits from, that supports binding to the SelectedItems

Alternatively: WPF: ComboBox with CheckBoxes as items (it will even update on the fly!)

Recently I’ve come across something weird… I needed a ComboBox that will allow the user to select multiple items. The the solution coming to mind is using CheckBoxes. I have found several examples, but neither one displayed the selected items with pretty commas like this;

enter image description here

Upvotes: 2

what about this?

jQuery Chosen Plugin

http://davidwalsh.name/dw-content/jquery-chosen.php

Upvotes: 0

Pathik Gandhi
Pathik Gandhi

Reputation: 1344

i m not sure what you are asking for but you can use this.

jquery tokenizing

Upvotes: 0

Related Questions