Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
9298
How can items be added to a dropdown in a ribbon through code?
posted

Here is how you can use code to  populate a ComboBox which has been added to a Ribbon.  You have to create a BindableValueList and bind it to a DataTable and then set the ValueList property of the ComboBoxTool to the instance of the BindableValueList..  A sample application has bee attached to this forum thread which demonstrattes how this can be accomplished.  I hope it is helpful.

ComboBoxInRibbon.zip