# C1.WPF.Grid.C1GridControl.ScrollIntoView

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_C1GridControl_ScrollIntoView_" data-uid="C1.WPF.Grid.C1GridControl.ScrollIntoView*">ScrollIntoView Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_C1GridControl_ScrollIntoView_" data-uid="C1.WPF.Grid.C1GridControl.ScrollIntoView*"></a>
<h4 id="C1_WPF_Grid_C1GridControl_ScrollIntoView_C1_WPF_Grid_GridControlRange_System_Double_System_Boolean_" data-uid="C1.WPF.Grid.C1GridControl.ScrollIntoView(C1.WPF.Grid.GridControlRange,System.Double,System.Boolean)">ScrollIntoView(GridControlRange, double, bool)</h4>
<div class="markdown level1 summary"><p>Scrolls the grid to bring a specified range 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 ScrollIntoView(GridControlRange range, double padding = 8, bool disableAnimation = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ScrollIntoView(range As GridControlRange, Optional padding As Double = 8, Optional disableAnimation As Boolean = False)</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="C1.WPF.Grid.GridControlRange.html">GridControlRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range to scroll into view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">padding</span></td>
      <td><p>The distance in pixels between the range and the viewport border.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">disableAnimation</span></td>
      <td><p>if set to <code>true</code> disable animations.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
