# C1.WPF.Grid.GridColumn.OnEditEnded

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_GridColumn_OnEditEnded_" data-uid="C1.WPF.Grid.GridColumn.OnEditEnded*">OnEditEnded Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_GridColumn_OnEditEnded_" data-uid="C1.WPF.Grid.GridColumn.OnEditEnded*"></a>
<h4 id="C1_WPF_Grid_GridColumn_OnEditEnded_C1_WPF_Grid_GridCellRange_C1_WPF_Grid_GridRow_System_Windows_FrameworkElement_System_Boolean_" data-uid="C1.WPF.Grid.GridColumn.OnEditEnded(C1.WPF.Grid.GridCellRange,C1.WPF.Grid.GridRow,System.Windows.FrameworkElement,System.Boolean)">OnEditEnded(GridCellRange, GridRow, FrameworkElement, bool)</h4>
<div class="markdown level1 summary"><p>Called before the cell ends editing.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnEditEnded(GridCellRange range, GridRow row, FrameworkElement editor, bool editCancelled)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnEditEnded(range As GridCellRange, row As GridRow, editor As FrameworkElement, editCancelled As Boolean)</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.GridCellRange.html">GridCellRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range that is being edited.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Grid.GridRow.html">GridRow</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The row that is being edited.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p>The editor</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">editCancelled</span></td>
      <td><p>Whether the edit was cancelled or not.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
