# C1.Win.FlexGrid.RowCol.Clear

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCol_Clear_" data-uid="C1.Win.FlexGrid.RowCol.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCol_Clear_" data-uid="C1.Win.FlexGrid.RowCol.Clear*"></a>
<h4 id="C1_Win_FlexGrid_RowCol_Clear_C1_Win_FlexGrid_ClearFlags_" data-uid="C1.Win.FlexGrid.RowCol.Clear(C1.Win.FlexGrid.ClearFlags)">Clear(ClearFlags)</h4>
<div class="markdown level1 summary"><p>Clears the contents of the row or column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public virtual void Clear(ClearFlags clearFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Overridable Sub Clear(clearFlags As ClearFlags)</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.Win.FlexGrid.ClearFlags.html">ClearFlags</a></td>
      <td><span class="parametername">clearFlags</span></td>
      <td><p><a class="xref" href="C1.Win.FlexGrid.ClearFlags.html">ClearFlags</a> value specifying which elements of the row or
column should be cleared.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_RowCol_Clear_C1_Win_FlexGrid_ClearFlags__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use this method to reset column properties to their default values (width, visibility, style,
user data, and so on). This method only clears the column object itself, it does not clear
the contents of the cells in the column.</p>
</div>
</div>
