title: displaying image to listview wpf
body: <p>what do i need to add in my code below?</p>
  
  <p>what i'm doing is to view the images in the listview</p>
  
  <p>so far this is my code</p>
  
  <pre><code>&lt;ListView Name="Thumbnails"&gt;
     &lt;ListView.ItemsPanel&gt;
        &lt;ItemsPanelTemplate&gt;
           &lt;UniformGrid Columns="1"/&gt;
        &lt;/ItemsPanelTemplate&gt;
     &lt;/ListView.ItemsPanel&gt;
  &lt;/ListView&gt;
  
  
  foreach (var item in lstImages)
  {
    Thumbnails.Items.Add(new BitmapImage(new Uri(item)));
  }
  </code></pre>
  
  <p>what do i need in order to show the images to the listview. the output of the code is only string, i did a search but i don't understand the code i found. thank you </p>