I created an addin project for the Visio. I used visual designer at first, there is no any problem with it.
The problem is when I export it to the XML file. I don't know how to get the Ribbon Controls (Microsoft.Office.Core.IRibbonControl).
For example: In the initial loading stage, I want to fill the combo box. Also, when one combo box index changed, in the call back function I want get another control such as textbox and do some changes.
The reason I export it to the XML file is the visual designer doesn't support the backstage view so I have manually create it in the XML.