我在wpf上下文中有两个菜单项,我用命令绑定它们,当两个项目都不可用时如何隐藏上下文菜单,我的意思是两个命令都无法执行?
wpf binding command command-pattern
binding ×1
command ×1
command-pattern ×1
wpf ×1