Reputation: 746
I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is clicked?
This doesn't seem to be of much help.
Upvotes: 1
Views: 371
Reputation: 29153
Make sure your menu is set to Dynamic = True
and then use the RibbonMenu's ItemsLoading
event. This will allow you to capture what happens to the what's dropped down before it's dropped down.
Upvotes: 1