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 again Vikram,
I just wanted to check back with you to find out if the sample I posted was useful for your needs. If you have any questions, please let me know.
Hi Vikram,
The attached sample displays a simple "XamNumericSliderTool" in the XamRibbon. The Template for this tool is set in a Style tag in App.xaml. PLease review this and let me know if it helps and/or if you have further questions.
Hi there!
I was able to get the combobox added and working in ribbon using the code you provided, but I wanted to use a slider control inside Xamribbon. I tried to follow the same steps as you did for combo box, but slider doesn't show up on the ribbon. I am not sure if I was able to get the apply template thing working correctly for it.
Would appreciate a lot if you could guide me out here or provide some code snippet to have slider control added in XamRibbon.
-Vikram
Hi Georgi,
thank you for the sample. But I must fill the combo from code behind. I can not use xaml to bind the combo to a property. I have modified the sample and it works. But I must save the new instance from the XamComboEditorToolControl in a list, because the function "ResolveToolControl" was called twice. Can you take a quick look over my sample, if this is the right way?
Regards
Marco