title: How to delete the listbox item in wp7?
body: <p>Listbox having 2 buttons.When click on button need to delete the item from that listbox.
  please tell me how to acheive that?</p>
  
  <pre><code> List&lt;SampleCheckedData&gt; interestrates = new List&lt;SampleCheckedData&gt;();
    interestrates = (from rts in xmlDocu.Descendants("Friend")
  
                                   select new SampleCheckedData
                                   {
  
                                       Id = (string)rts.Element("userid"),
                                       Name = (string)rts.Element("name"),
                                       Icon = (string)rts.Element("imageurl"),
                                       VisibleStatus = (string)rts.Element("visiblestatus"),
                                       AppStatus = (string)rts.Element("loginstatus"),
  
                                       imgBubble =bitmapRed,
                                   }).ToList&lt;SampleCheckedData&gt;();
  
  
  
                  this.lstImages.ItemsSource = interestrates;
  
   private void btnAccept_MouseEnter(object sender, MouseEventArgs e)
          {
              int _id = int.Parse(((System.Windows.FrameworkElement)(e.OriginalSource)).Tag.ToString());
              lstFriendRequuest.Items.RemoveAt(lstFriendRequuest.SelectedIndex);
  }
  </code></pre>