title: How to display Bitmap Image in image control on WPF using C#
body: <p>I want that when I double click on a row in <code>ListView</code>, it should display the <code>Image</code> corresponding to that row. This row also contains the path of the <code>Image</code>. </p>
  
  <p>I tried the following but it displays the same <code>Image</code> for all rows because I have given the path for a specific <code>Image</code>:</p>
  
  <pre><code>private void ListViewEmployeeDetails_MouseDoubleClick(object sender, MouseButtonEventArgs e)
  {
      ImageSource imageSource = new BitmapImage(new Uri(@"C:\northwindimages\king.bmp"));
      image1.Source = imageSource;
  }
  </code></pre>
  
  <p>Please suggest something.</p>