I'm trying to find a way to update a RibbonMenu's items (like a few RibbonB开发者_如何学运维uttons) 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.
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.
精彩评论