# C1.WPF.Grid.FlexGrid.Refresh

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_FlexGrid_Refresh_" data-uid="C1.WPF.Grid.FlexGrid.Refresh*">Refresh Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_FlexGrid_Refresh_" data-uid="C1.WPF.Grid.FlexGrid.Refresh*"></a>
<h4 id="C1_WPF_Grid_FlexGrid_Refresh" data-uid="C1.WPF.Grid.FlexGrid.Refresh">Refresh()</h4>
<div class="markdown level1 summary"><p>Recreates all the cells.</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()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Refresh()</code></pre>
</div>


<a id="C1_WPF_Grid_FlexGrid_Refresh_" data-uid="C1.WPF.Grid.FlexGrid.Refresh*"></a>
<h4 id="C1_WPF_Grid_FlexGrid_Refresh_System_Nullable_C1_WPF_Grid_GridCellType__C1_WPF_Grid_GridCellRange_" data-uid="C1.WPF.Grid.FlexGrid.Refresh(System.Nullable{C1.WPF.Grid.GridCellType},C1.WPF.Grid.GridCellRange)">Refresh(GridCellType?, GridCellRange)</h4>
<div class="markdown level1 summary"><p>Refreshes the specified cells.</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(GridCellType? cellType = null, GridCellRange range = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Refresh(Optional cellType As GridCellType? = Nothing, Optional range As GridCellRange = 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="C1.WPF.Grid.GridCellType.html">GridCellType</a>?</td>
      <td><span class="parametername">cellType</span></td>
      <td><p>Type of the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Grid.GridCellRange.html">GridCellRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
