# C1.WPF.ListView.ListViewItem.Index

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_ListView_ListViewItem_Index_" data-uid="C1.WPF.ListView.ListViewItem.Index*">Index Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_ListView_ListViewItem_Index_" data-uid="C1.WPF.ListView.ListViewItem.Index*"></a>
<h4 id="C1_WPF_ListView_ListViewItem_Index" data-uid="C1.WPF.ListView.ListViewItem.Index">Index</h4>
<div class="markdown level1 summary"><p>Gets the index of this item in the collection of items.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Index { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Index As Integer</code></pre>
</div>
<h5 id="C1_WPF_ListView_ListViewItem_Index_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>returns -1, if the item is not attached to a ListView.</p>
</div>
</div>
