title: WPF Application Command Bindings doesn't work
body: <p>Hi
  I have a strange problem with CommandBindings in WPF. 
  I add CommandBindings in constructor of object. The command bindings looks like that</p>
  
  <pre><code>   CommandBindings.Add(new CommandBinding(ApplicationCommands.Copy,Copy_Executed,Copy_Enabled));
          CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut,Cut_Executed,Cut_Enabled));
          CommandBindings.Add(new CommandBinding(ApplicationCommands.Paste,Paste_Executed,Paste_Enabled));
  </code></pre>
  
  <p>Coresponding functions which are responsible for execution look that way</p>
  
  <pre><code> private void Paste_Enabled(object sender,CanExecuteRoutedEventArgs e)
      {
          e.CanExecute = selectionService != null &amp;&amp; selectionService.CurrentSelection.Count &gt; 0;
  
      }
  
      private void Paste_Executed(object sender, ExecutedRoutedEventArgs e)
      {
  
              if (GetSelected() != null)
                  Paste(true);
              else
                 Paste(false);
  
      }
  
  
  
      private void Copy_Executed(object sender, ExecutedRoutedEventArgs e)
      {
          Copy();
      }
  
      private void Copy_Enabled(object sender, CanExecuteRoutedEventArgs e)
      {
          e.CanExecute = selectionService.CurrentSelection.OfType&lt;DesignerItem&gt;().Count() &gt; 0;
      }
  
      #endregion
  private void Cut_Executed(object sender, ExecutedRoutedEventArgs e)
      {
          Copy();
          DeleteCurrentSelection(false);
      }
  
      private void Cut_Enabled(object sender, CanExecuteRoutedEventArgs e)
      {
          e.CanExecute = this.SelectionService.CurrentSelection.Count() &gt; 0;
      }
  </code></pre>
  
  <p>The problem is that only cut command works. I mean if I set a breakpoint in any other funciotn (copy or paste) the breakpoint are not hit. Could somebody tell me what I do wrong ??</p>