Home > DeveloperSection > Forums > Comboboxitem to be replaced by textbox on clicking
Samuel Fernandes
Samuel Fernandes

Total Post:159

Posted on    September-04-2013 3:18 AM


 1 Reply(s)
 1059  View(s)
Rate this:

I am implementing a comboBox consisting of normal comboBoxItems and those which will allow the modification of the list bound to the comboBox.

Eg: I need the following to go into the comboBox - option1, option2, option3, AddNewOption where, upon clicking on the AddNewOption, I want the comboBoxItem to expose a textBox where I enter the content, which will be dynamically added to the list bound to the comboBox.

How do I implement the highlighted portion?

Sumit Kesarwani

Total Post:378

Posted on    September-04-2013 7:11 AM

Hi Samuel,

I would probably bind to an editable collection view that adds the NewItemPlaceholder at the end, then one could define a DataTemplate for the place-holder which contains the outlined logic.

Don't want to miss updates? Please click the below button!

Follow MindStick