WPF Ribbon RibbonComboBox Text Woes

Aug 25, 2010 at 8:43 PM

I've been stuck on a particular issue with RibbonComboBox for almost 8 hours now. 

I have a RibbonComboBox bound to an ObservableCollection of type RibbonMenuItem, and the list seems to be populating correctly.

My problem is that I need the text of the selected object to be displayed in the RibbonComboBox (imagine selecting a font from a list). I bound the Text property to a string that is populated with any RibbonMenuItem is clicked, but no text was displayed.

I tried manually entering a value in the Blend designer of "Text Test" for the Text, but no text was displayed.

What do I have to do to get the actual box part of the RibbonComboBox to display a string?