I have already already developed some ribbon buttons that execute commands on the view model of a Docking Window through the use of Prism CompositeCommands and DelegateCommands. This seems to be working very well. However, now I am very lost in trying to figure out how a ComboBox (or a TextBox) on the ribbon could be bound to the view model of the active window.
I read the page about "Interaction with Value Controls" in the documentation, and I think I understand how that is supposed to work after viewing "RichTextBoxExtended.cs" in the code samples. However, this sample does not involve docking windows. There is another sample under the "Docking & MDI" product family, that I can get to by clicking "RibbonWindow with Docking". Although this sample purports to show how to use a ribbon with docking, the ComboBoxes (like the one for Font Size) aren't functional. In the Rich Text Box sample, if I put the cursor on some text, the Font Size ComboBox automatically updates to reflect the font size of the selected text. In the Docking example, this ComboBox doesn't do anything at all. As far as I can tell, the code for it is simply incomplete, and isn't helpful. However, the fact that you have a sample like this seems to imply that you can put a ComboBox on a Ribbon with Docking Windows.
How can I get the effect of having my ComboBox's SelectedItem being bound to a property in the ViewModel of a Docking Window? And are there any examples I can study?