# C1.WPF.C1ListViewer.BringIndexIntoView

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1ListViewer_BringIndexIntoView_" data-uid="C1.WPF.C1ListViewer.BringIndexIntoView*">BringIndexIntoView Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1ListViewer_BringIndexIntoView_" data-uid="C1.WPF.C1ListViewer.BringIndexIntoView*"></a>
<h4 id="C1_WPF_C1ListViewer_BringIndexIntoView_System_Int32_System_Nullable_System_Windows_Rect__System_Boolean_System_Action_" data-uid="C1.WPF.C1ListViewer.BringIndexIntoView(System.Int32,System.Nullable{System.Windows.Rect},System.Boolean,System.Action)">BringIndexIntoView(int, Rect?, bool, Action)</h4>
<div class="markdown level1 summary"><p>Brings the specified index into view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void BringIndexIntoView(int index, Rect? subOffset = null, bool changeZoomIfNecessary = true, Action completed = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub BringIndexIntoView(index As Integer, Optional subOffset As Rect? = Nothing, Optional changeZoomIfNecessary As Boolean = True, Optional completed As Action = Nothing)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The index of the to bring into view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a>?</td>
      <td><span class="parametername">subOffset</span></td>
      <td><p>A sub area inside the item which can be used to scroll to a more specific point.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">changeZoomIfNecessary</span></td>
      <td><p>If true, the zoom will be changed so that the whole area is visible.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></td>
      <td><span class="parametername">completed</span></td>
      <td><p>Action called when the the animation completed.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
