title: Silverlight: update listbox template item
body: <p>I have listbox and on click event I open new panel where i change data of listbox, more accurately image source. I have problem how to update listbox to have new picture. Thanks in advance.
  Here is my code:</p>
  
  <pre><code>&lt;ListBox x:Name="lbNarudzbe" MouseLeftButtonUp="lbNarudzbe_MouseLeftButtonUp" HorizontalAlignment="Center" MaxHeight="600"&gt;
                      &lt;ListBox.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;StackPanel Orientation="Horizontal"&gt;
                                  &lt;Image Margin="0,5,0,0" Width="50" Height="50" HorizontalAlignment="Center" Source="{Binding Path=Picture}" /&gt;
                                  &lt;TextBlock HorizontalAlignment="Center" FontSize="23" Text="{Binding Path=UkupnaCijena}" Width="80"/&gt;
                              &lt;/StackPanel&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListBox.ItemTemplate&gt;
                  &lt;/ListBox&gt;
  
  
  
  
  public partial class Page : UserControl
      {
          ObservableCollection&lt;Narudzba&gt; narudzbe = new ObservableCollection&lt;Narudzba&gt;();
  
          public Page()
          {
              InitializeComponent();
  
              narudzbe.Add(new Narudzba());
              narudzbe.Add(new Narudzba());
              narudzbe.Add(new Narudzba());
              narudzbe.Add(new Narudzba());
  
              lbNarudzbe.ItemsSource = narudzbe;
  
          }
  
  
  
  
  
       public class Narudzba
              {
                 //...
                  public string Picture
                  {
                      get { return "picture source"; }
                  }.....
  </code></pre>