阅读背景:

WPF:如何在运行时向菜单添加新的menuitem?

来源:互联网 

I have a simple WPF application with a menu. I need to add menu items dynamically at runtime. When I simply create a new menu item, and add it onto its parent MenuItem, it does not display in the menu, regardless of if UpdateLayout is called.I have a simple WPF application with a menu. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: