title: Change image source in Windows 8
body: <p>In XAML I have an image: <code>&lt;Image x:Name="Tlo" Margin="0,0,10,11" Source="Images/detail_bg.png" Stretch="Fill"/&gt;</code>
  I'd like to change image to another after taping on one button. Inside body of function which handles this event there is a code to change image:</p>
  
  <pre><code> Tlo.Source = new BitmapImage(new Uri("/Images/detail_bgp.png", UriKind.Relative));
  </code></pre>
  
  <p>When I was running an application I had been getting exception: <br><br>
  An exception of type 'System.ArgumentException' occurred in mscorlib.dll but was not handled in user code</p>
  
  <p>Additional information: Podana klasy System.Uri nie można przekształcić na klasę Windows.Foundation.Uri. Aby uzyskać więcej informacji, zobacz <a href="http://go.microsoft.com/fwlink/?LinkID=215849" rel="nofollow">http://go.microsoft.com/fwlink/?LinkID=215849</a>.<br>
  Then part in Polish of additional information means something like: Class System.Uri can't be process into class Windows.Fundation.Uri</p>