title: ListView SelectedValue in WPF
body: <p>I have a ListView in my WPF application. my ListViewItem s are just Images. but I want to get the selected value of this ListView. In ASP.Net I can set a Text/Value pair for a listitem, and the selectedvalue was the Value I have set.</p>
  
  <p>how can I achieve this in wpf ?</p>
  
  <p>Here is my Xaml :</p>
  
  <pre><code>&lt;ListView Name="lstStyle" MouseDoubleClick="lstStyle_MouseDoubleClick" KeyDown="lstStyle_KeyDown"&gt;
          &lt;ListViewItem&gt;
              &lt;Image Source="/WPFSample;component/Images/Home1.png"&gt;&lt;/Image&gt;
  
          &lt;/ListViewItem&gt;
  </code></pre>
  
  <p></p>
  
  <p>Any Idea ?</p>