title: How to create user define (new) event for user control in WPF ?one small example
body: <p>I have one <code>UserControl</code> in which I am using a <code>Canvas</code>, and in that Canvas one Rectangle.  I want to create a click event for that user control (Canvas and Rectangle) which I then want to use in the main window.</p>
  
  <p>The question is: I want to create a new click event for the <code>UserControl</code>. How to do it?  Kindly show little example or the code.</p>