阅读背景:

将ContextMenu的MenuItem可见性绑定到ListView选择

来源:互联网 

I have a user control with a ListView containing simple items from an ObservableCollection. I would like the ContextMenu of that ListView to contain items depending on what's selected in the ListView. If no item is selected, some MenuItems should not be visible. I have a user control with a ListView containin




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

分享到: