# C1.WPF.Grid.FlexGrid.RowEditEnding

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_Grid_FlexGrid_RowEditEnding" data-uid="C1.WPF.Grid.FlexGrid.RowEditEnding" class="text-break">RowEditEnding Event
</h1>
<div class="markdown level0 summary"><p>Occurs when a row edit is ending.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
<h5 id="C1_WPF_Grid_FlexGrid_RowEditEnding_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler&lt;GridCellEditEventArgs&gt; RowEditEnding</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event RowEditEnding As EventHandler(Of GridCellEditEventArgs)</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="C1.WPF.Grid.GridCellEditEventArgs.html">GridCellEditEventArgs</a>&gt;</td>
      <td>Occurs when a row edit is ending.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_Grid_FlexGrid_RowEditEnding_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>You can cancel this event by setting the <b>Cancel</b> property of the event argument 
to true in the event handler.</p>
<p>If this event is not canceled, the edits will be committed or canceled depending on the
setting of the <b>CancelEdits</b> property of the event argument.</p>
<p>Alternatively, you can set the <span class="xref">IsReadOnly</span> property to true to 
disable editing in the grid.</p>
</div>
</div>
