ListViewItem in WPF ListView
<p>I'm attempting to get the ListViewItem object from the currently selected row of a data bound ListView, like so:</p>

<pre><code>ListViewItem selectedItem = new ListViewItem();
selectedItem = (ListViewItem)listView1.Items[index];
</code></pre>

<p>what this does however, is returns the object type the ListView is bound to, in this instance, its a company class object for a database. What I would like it to return is the actual ListViewItem object itself (so that I can access its properties).</p>

<p>is there anyway to do this?</p>

<p>thanks</p>
