title: Bind a method to xaml control
body: <p>I need to bind a method to a custom control in xaml file, NOT the result of the method.</p>
  
  <p>Basically the custom control will trigger the method few times when certain conditions match.</p>
  
  <p>How can I do that?</p>
  
  <p>I found some solutions in internet but most of them are binding the result of method into xaml, which is not the solution I looking for.</p>
  
  <p>Many thanks.</p>