# C1.Win.FlexGrid.IC1FlexGridRowDetail.Removing

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_" data-uid="C1.Win.FlexGrid.IC1FlexGridRowDetail.Removing*">Removing Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_" data-uid="C1.Win.FlexGrid.IC1FlexGridRowDetail.Removing*"></a>
<h4 id="C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_C1_Win_FlexGrid_C1FlexGrid_System_Int32_" data-uid="C1.Win.FlexGrid.IC1FlexGridRowDetail.Removing(C1.Win.FlexGrid.C1FlexGrid,System.Int32)">Removing(C1FlexGrid, int)</h4>
<div class="markdown level1 summary"><p>Used to release resources of the control before removing of it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Removing(C1FlexGrid parentGrid, int rowIndex)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Removing(parentGrid As C1FlexGrid, rowIndex 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="C1.Win.FlexGrid.C1FlexGrid.html">C1FlexGrid</a></td>
      <td><span class="parametername">parentGrid</span></td>
      <td><p>FlexGrid which displays detail control.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowIndex</span></td>
      <td><p>Index of parent detail row.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_C1_Win_FlexGrid_C1FlexGrid_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If Setup method did not initialize any resources, the body of <a class="xref" href="C1.Win.FlexGrid.IC1FlexGridRowDetail.Removing.html#C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_C1_Win_FlexGrid_C1FlexGrid_System_Int32_">Removing(C1FlexGrid, int)</a> method might be empty.</p>
</div>
<h5 id="C1_Win_FlexGrid_IC1FlexGridRowDetail_Removing_C1_Win_FlexGrid_C1FlexGrid_System_Int32__examples">Examples</h5>
<p>The code below shows the basic implementation of Removing method:</p>
<pre><code class="lang-csharp">void IC1FlexGridRowDetail.Removing(C1FlexGrid parentGrid, int rowIndex) 
{ 
    // No resources to release 
}</code></pre>

</div>
