# C1.WPF.Grid.C1GridControl.Refresh

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_C1GridControl_Refresh_" data-uid="C1.WPF.Grid.C1GridControl.Refresh*">Refresh Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_C1GridControl_Refresh_" data-uid="C1.WPF.Grid.C1GridControl.Refresh*"></a>
<h4 id="C1_WPF_Grid_C1GridControl_Refresh_C1_WPF_Grid_GridControlRange_System_Boolean_" data-uid="C1.WPF.Grid.C1GridControl.Refresh(C1.WPF.Grid.GridControlRange,System.Boolean)">Refresh(GridControlRange, bool)</h4>
<div class="markdown level1 summary"><p>Refreshes the specified <code class="paramref">range</code> of cells asynchronously.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Refresh(GridControlRange range = null, bool recycleCells = true)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Refresh(Optional range As GridControlRange = Nothing, Optional recycleCells As Boolean = True)</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 of cells to refresh. If <code>null</code> is passed all the cells will be refreshed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">recycleCells</span></td>
      <td><p>when set to <code>true</code> it recycles the cells.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
