# GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_KeyExitEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.#ctor*">KeyExitEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_KeyExitEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_KeyExitEventArgs__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitKey_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.#ctor(GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitKey)">KeyExitEventArgs(ExitKey)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.html">KeyExitEventArgs</a> class using the specified ExitKeys.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public KeyExitEventArgs(ExitKey key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(key As ExitKey)</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.Wpf.SpreadSheet.CellType.Editors.ExitKey.html">ExitKey</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitKey.html">ExitKey</a> value indicates which key raised GrapeCity.Windows.InputMan.Primitives.EditBase.KeyExit event.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_KeyExitEventArgs__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_KeyExitEventArgs__ctor_System_Windows_RoutedEvent_GrapeCity_Wpf_SpreadSheet_CellType_Editors_ExitKey_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.#ctor(System.Windows.RoutedEvent,GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitKey)">KeyExitEventArgs(RoutedEvent, ExitKey)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.KeyExitEventArgs.html">KeyExitEventArgs</a> class using the specified ExitKeys.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public KeyExitEventArgs(RoutedEvent routedEvent, ExitKey key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(routedEvent As RoutedEvent, key As ExitKey)</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="https://learn.microsoft.com/dotnet/api/system.windows.routedevent">RoutedEvent</a></td>
      <td><span class="parametername">routedEvent</span></td>
      <td><p>The routed event identifier for this instance of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.routedeventargs">RoutedEventArgs</a> class.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitKey.html">ExitKey</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ExitKey.html">ExitKey</a> value indicates which key raised GrapeCity.Windows.InputMan.Primitives.EditBase.KeyExit event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
