Hi - I read about getting a combo box inside a ribbon bar and that it is possible. However, the topic was a bit outdated.
Can you provide me with sample code for the best way of doing this in version 10.3.
Thanks,
Hi Marco,
You can use the approach from the samples above and modify the custom tool to fit your needs.
Attached is a modified sample that epoxes a SelectedItem property and SelectionChanged event. You can use it as a base and make any other modifications you might need.
Hope this helps,
Hi,
thank you for this example. But how can I bind the selected item or create a click event or click command? How can I inform the mvvm class, when an item is selected in the combobox?
Is a combobox tool in the next version 11.2? I miss many features in your ribbon control.
Regards
Marco
ok i figured it out... you should set
MaximumSize="ImageAndTextNormal"
and rebuild in order to take effect
it's working great. but i have a question.
how can we have 2 comboboxtools below eachother. i am able to add combos beside eachother but not below.
Using the example code, how do I databind the selected item?Also is there any plans to add a combobox tool to the toolset. The microsoft Ribbon bar has combobox tool?
Thanks