title: How can i get the names from the selected ListViewItems?
body: <p>I have a ListView with a databinding to a TreeView that is databinded to a XmlDataProvider. In a ListView you can select multible items at once. My problem is that i need to know which items were selected. How can i get the names from the ListViewItems?</p>
  
  <p>XAML:</p>
  
  <pre><code>&lt;ListView x:Name="listViewCards" DataContext="{Binding ElementName=treeViewCategory, Path=SelectedItem}" ItemsSource="{Binding XPath=./card/title, UpdateSourceTrigger=PropertyChanged}" KeyDown="listViewCards_KeyDown" /&gt;
  </code></pre>
  
  <p>C#:</p>
  
  <pre><code>private void listViewCards_KeyDown(object sender, KeyEventArgs e)
  {
      IList selectedListViewItems = listViewCards.SelectedItems;
      if (selectedListViewItems.Count &gt; 1)
      {
          //delete all selected items from xml:
          foreach (XmlNode node in xmlNode.ChildNodes)
          {
              if (node.InnerText.Equals( ??? ))
              {
                  //mark for deleting
              }
          }
      }
  }
  </code></pre>