title: WPF - how to hide menu item if command's CanExecute is false?
body: <p>By default menu items become disabled when its command cannot be executed (CanExecute = false). What is the easiest way to make the menu item visible/collapsed based on the CanExecute method?</p>