# C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow*">RefreshRow Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow*"></a>
<h4 id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow">RefreshRow()</h4>
<div class="markdown level1 summary"><p>Invalidates the current row.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RefreshRow()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RefreshRow()</code></pre>
</div>
<h5 id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The RefreshRow method causes a repaint of the entire row in the grid. Normally, the grid repaints automatically as needed. However, if handlers have been written for the <a class="xref" href="C1.Win.TrueDBGrid.C1TrueDBGrid.OwnerDrawCell.html">OwnerDrawCell</a> event, use this method to force a row to be repainted and hence cause the appropriate events to fire.</p>
</div>


<a id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow*"></a>
<h4 id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_System_Int32_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshRow(System.Int32)">RefreshRow(int)</h4>
<div class="markdown level1 summary"><p>Invalidates the current row.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RefreshRow(int row)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RefreshRow(row As Integer)</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">row</span></td>
      <td><p>The row to refresh.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_TrueDBGrid_C1TrueDBGrid_RefreshRow_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The RefreshRow method causes a repaint of the entire row in the grid. Normally, the grid repaints automatically as needed. However, if handlers have been written for the <a class="xref" href="C1.Win.TrueDBGrid.C1TrueDBGrid.OwnerDrawCell.html">OwnerDrawCell</a> event, use this method to force a row to be repainted and hence cause the appropriate events to fire.</p>
</div>
</div>
