# GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.MoveFocusByKeyExit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_MoveFocusByKeyExit_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.MoveFocusByKeyExit*">MoveFocusByKeyExit Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_MoveFocusByKeyExit_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.MoveFocusByKeyExit*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_MoveFocusByKeyExit_GrapeCity_Win_Spread_InputMan_CellType_KeyExitEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberEditingControl.MoveFocusByKeyExit(GrapeCity.Win.Spread.InputMan.CellType.KeyExitEventArgs)">MoveFocusByKeyExit(KeyExitEventArgs)</h4>
<div class="markdown level1 summary"><p>Moves the focus using the key exit event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void MoveFocusByKeyExit(KeyExitEventArgs e)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub MoveFocusByKeyExit(e As KeyExitEventArgs)</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="GrapeCity.Win.Spread.InputMan.CellType.KeyExitEventArgs.html">KeyExitEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.KeyExitEventArgs.html">KeyExitEventArgs</a> instance that contains the event data.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.MoveFocusByKeyExit.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_MoveFocusByKeyExit_GrapeCity_Win_Spread_InputMan_CellType_KeyExitEventArgs_">EditBase.MoveFocusByKeyExit(KeyExitEventArgs)</a></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberEditingControl_MoveFocusByKeyExit_GrapeCity_Win_Spread_InputMan_CellType_KeyExitEventArgs__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p><b>ExitKeys.CharInput</b>, <b>ExitKeys.CtrlRight</b>, <b>ExitKeys.NextControl</b>,
<b>ExitKeys.Right</b>, and <b>ExitKeys.Tab</b> move the focus forward.
Other <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ExitKeys.html">ExitKeys</a> move the focus backward.
<div class="NOTE"><h5>note</h5><p>
The base method must be invoked when overriding it in the inherited class; otherwise, the focus does not move.
</p></div>
</div>
</div>
