title: programmatically bind mouse events mvvm
body: <p>I have a <code>dll</code> which adds/removes <code>Canvases</code>, and deals with drawing on them.</p>
  
  <p>I wish to "register" each <code>Canvas</code> I add to <code>MouseMove</code>, <code>MouseDown</code> and <code>MouseUp</code> events.</p>
  
  <p>I know I can add those 3 event functions and do it the traditional way, but I wanted to know if there is a more elegant way of doing that in <code>MVVM</code>?</p>
  
  <p>I tried to search for it, but found only implementation of it in the <code>xaml</code> using <code>Interactivity</code>.</p>