How do I update a RibbonComboBox in a WPF Application?
Posted on 2011-09-20
I am creating a WPF Ribbon Application with Visual Basic .NET.
On the Ribbon, I have created a RibbonComboBox. I have also created a collection (in code) of items and set that as my ItemSource for the RibbonComboBox at run-time. This works fine and the items show up in the RibbonComboBox.
However, how do I get the RibbonComboBox to display the item I select from the list? When I drop the box down and select something, it does not update to display the selected item - the field just stays empty. I tried setting the Text property but this does not seem to work. How do you get the RibbonComboBox to display the selected item?