# C1.WPF.Grid.GridControlAdapter.OnEditEnded

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_GridControlAdapter_OnEditEnded_" data-uid="C1.WPF.Grid.GridControlAdapter.OnEditEnded*">OnEditEnded Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_GridControlAdapter_OnEditEnded_" data-uid="C1.WPF.Grid.GridControlAdapter.OnEditEnded*"></a>
<h4 id="C1_WPF_Grid_GridControlAdapter_OnEditEnded_C1_WPF_Grid_GridControlRange_System_Windows_FrameworkElement_System_Boolean_" data-uid="C1.WPF.Grid.GridControlAdapter.OnEditEnded(C1.WPF.Grid.GridControlRange,System.Windows.FrameworkElement,System.Boolean)">OnEditEnded(GridControlRange, FrameworkElement, bool)</h4>
<div class="markdown level1 summary"><p>Called when the editing of a cell ended.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void OnEditEnded(GridControlRange range, FrameworkElement editor, bool editCancelled)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub OnEditEnded(range As GridControlRange, 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.GridControlRange.html">GridControlRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range that was 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><code>true</code> if the editing was cancelled.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
