title: Adding "close tab" keybinding to WPF TabItem in C#
body: <p>I've implemented this modified TabItem to add a "Close" button to each tab of a WPF TabControl:</p>
  
  <p><a href="http://www.codeproject.com/Articles/281402/Closable-TabItem-in-WPF" rel="nofollow noreferrer">http://www.codeproject.com/Articles/281402/Closable-TabItem-in-WPF</a></p>
  
  <p>Everything works very well, but I cannot figure out for the life of me how to add a KeyBinding for Ctrl+W to serve as an alternate way of closing tabs. I've tried adding to the CloseTab.cs class as well as my main window class with no luck.</p>
  
  <p>I was using this for reference:</p>
  
  <p><a href="https://stackoverflow.com/questions/1361350/keyboard-shortcuts-in-wpf">Keyboard shortcuts in WPF</a></p>
  
  <p>...but I don't really understand how to add the shortcut.</p>