private void BindCommandBase() { _menuItem.Enabled = Command.Enabled; _menuItem.Checked = Command.IsChecked; CommandManager.AddBinding(_menuItem, this); }
private void Initilaize() { _menuItem.Enabled = Command.Enabled; CommandManager.AddBinding(_menuItem, this); }