Live Chat Icon For mobile
Live Chat Icon

How do I add an item to the combo’s choice list with value empty string in XAML?

Platform: WPF| Category: ComboBox

Your first instinct is probably to add a ComboBoxItem as follows:


But, that wouldn’t work. Instead you will have to specify an empty string as follows:

<ComboBoxItem Content=''></ComboBoxItem>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.