private bool CanEnableMenu(EnableMenuEventArgs args) { return(Menu != null && args != null); }
private void EnableMenu(EnableMenuEventArgs args) { Menu.IsEnabled = args.Enable; }