开发者

Updating RibbonMenu

开发者 https://www.devze.com 2023-01-22 09:37 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号