title: move canvas on key down
body: <p>I want to move canvas right when I press ->.
  I set event KeyDown and this is method for event</p>
  
  <pre><code>private void Window_KeyDown(object sender, KeyEventArgs e)
  {
      if (e.Key==Key.Right)
      {
  
      }
  }
  </code></pre>
  
  <p>But what to write inside <code>if</code>?<code>Canvas.setLeft</code> doesn't work</p>
  
  <pre><code> &lt;Canvas x:Name="totle" KeyDown="Window_KeyDown"&gt;
          &lt;Ellipse  Name="yio" Canvas.Left="40" Canvas.Top="40" Height="30" Width="30" Fill="Beige"/&gt;
          &lt;Line X1="40" Canvas.Left="67" Canvas.Top="51" StrokeThickness="40" Stroke="Red" Height="10" Width="45" Fill="#FFD86464" OpacityMask="Red" /&gt;
          &lt;Rectangle Canvas.Left="20" Canvas.Top="70" Width="70" Height="20" Fill="Beige"/&gt;
      &lt;/Canvas&gt;
  </code></pre>