private static void OnEnabledCopyExcelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var itemsControl = d as ItemsControl;

            var commands = CreateCommands(d);

            contextMenuBuilder.CreateContextMenuCopiesForCondition(d as FrameworkElement, commands.CopyAllCommmand, commands.CopyCommand, GetCreateContextMenu(d), GetEnabledCopyExcel(d));

            itemsControl.InputBindings.Add(
                new KeyBinding {
                Key = Key.A, Modifiers = ModifierKeys.Control, Command = commands.CopyAllCommmand
            }
                );

            itemsControl.InputBindings.Add(
                new KeyBinding {
                Key = Key.C, Modifiers = ModifierKeys.Control, Command = commands.CopyCommand
            }
                );
        }