开发者

wpf menuitem - ischeckable with children

开发者 https://www.devze.com 2023-02-13 03:32 出处:网络
Im building a context menu, and noticed that when my top list of menuitems have ischeckable turned on, they wont show any child menu items. but what I\'d like to do is be able to:

Im building a context menu, and noticed that when my top list of menuitems have ischeckable turned on, they wont show any child menu items. but what I'd like to do is be able to:

-navigate to a child item, pick it, and have it propagate to the top menu

-next time i want to use this item, i can just click it on the top level menu and it will be sel开发者_JAVA百科ected, without necessarily needing to drill into the children to reselect it.

Appreciate any pointers on how to have the top menu be checkable and still allow children menus items.

0

精彩评论

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