I would like my combobox on my custom ribbon to refresh on its drop down event. I searched msdn for information about the OnDropDown() event signature but this isn't recognized (see attached screenshot).
How can I capture combobox on the ribbon's drop down event ?
Hi Khamilie,
I use combobox in my custom ribbon, but I call my own method to update combobox content. But you need to know the place where or when your combobox content changes. I created property for combobox in my add-in module class MyComboBox. Set it in combobox constructor:
MyModule.Current.MyComboBox = this;
And somewhere call method to update:
MyModule.Current.MyComboBox.UpdateComboboxContent();
That actually worked well for my solution. Thank you!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.