# C1.WPF.Grid.GridLostFocusEditMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_Grid_GridLostFocusEditMode" data-uid="C1.WPF.Grid.GridLostFocusEditMode" class="text-break">GridLostFocusEditMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the behavior when the control loses focus while editing.</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.GridControl.dll</h6>
  <h5 id="C1_WPF_Grid_GridLostFocusEditMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GridLostFocusEditMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GridLostFocusEditMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_Grid_GridLostFocusEditMode_CancelEdit">CancelEdit</td>
        <td><p>Ends editing and discards the changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridLostFocusEditMode_CommitEdit">CommitEdit</td>
        <td><p>Ends editing and commits the changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridLostFocusEditMode_KeepEditing">KeepEditing</td>
        <td><p>Keeps the control in editing mode even after losing focus.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
