# GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitOnLeftRightKey

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitOnLeftRightKey" class="text-break">ExitOnLeftRightKey Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the action that user press left / right arrow key when input position is at the start/end position.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ExitOnLeftRightKey</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ExitOnLeftRightKey</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Left or right key lead to lose focus when the caret is at the left-most or right-most position.</p>
</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_Both">Both</td>
        <td><p>Move to the previous/next control when press Left/Right or Ctrl+Left/Ctrl+Right keys on the first/last character of the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_Left">Left</td>
        <td><p>Move to the previous control when press left or Ctrl+Left keys on the first character of the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_None">None</td>
        <td><p>No action.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitOnLeftRightKey_Right">Right</td>
        <td><p>Move to the next control when press right or Ctrl+Right keys on the last character of the control.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
