title: How can I make MarkupExtenstion for button click event in WPF 4.5?
body: <p>I want to create the MarkupExtension to provide support for Button click event. I have got an article for PreviewKeyDown <a href="http://www.jonathanantoine.com/2011/09/23/wpf-4-5s-markupextension-invoke-a-method-on-the-viewmodel-datacontext-when-an-event-is-raised/" rel="nofollow">here</a>. I tried to modify it for Click but unable to do so as it throws an exception</p>
  
  <p>Please suggest how to implement this.</p>