title: WPF Dynamic add ListViewItem with detals
body: <p>I want to add ListViewItem with changed details like image's link, text in textbox etc. How can I do it?</p>
  
  <pre><code>    &lt;ListView VerticalAlignment="Bottom" Margin="10" Height="170" Foreground="LightSteelBlue"&gt;
          &lt;ListViewItem&gt;
              &lt;StackPanel Orientation="Horizontal"&gt;
                  &lt;TextBlock Text="01" VerticalAlignment="Center"/&gt;
                  &lt;Ellipse Margin="20,0" Width="30" Height="30" VerticalAlignment="Center"&gt;
                      &lt;Ellipse.Fill&gt;
                          &lt;ImageBrush ImageSource="images/pobrane.jpg"/&gt;
                      &lt;/Ellipse.Fill&gt;
                  &lt;/Ellipse&gt;
                  &lt;TextBlock Text="Three Days Grace - I Hate Everything About You (Official Music Video)" Width="115" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" /&gt;
                  &lt;TextBlock Text="3:45" Margin="10,0" VerticalAlignment="Center" /&gt;
              &lt;/StackPanel&gt;
          &lt;/ListViewItem&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>I want to make function which will add the same code like i showed you with changed details.</p>