# C1.Win.FlexGrid.KeyEditEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_KeyEditEventArgs" data-uid="C1.Win.FlexGrid.KeyEditEventArgs" class="text-break">KeyEditEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.KeyDownEdit.html">KeyDownEdit</a> and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.KeyUpEdit.html">KeyUpEdit</a> events.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">KeyEditEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_KeyEditEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class KeyEditEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class KeyEditEventArgs
    Inherits EventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs__ctor_System_Int32_System_Int32_System_Windows_Forms_KeyEventArgs_" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.#ctor(System.Int32,System.Int32,System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.-ctor.html#C1_Win_FlexGrid_KeyEditEventArgs__ctor_System_Int32_System_Int32_System_Windows_Forms_KeyEventArgs_">KeyEditEventArgs(int, int, KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the KeyEditEventArgs class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Alt" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Alt">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Alt.html#C1_Win_FlexGrid_KeyEditEventArgs_Alt">Alt</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the ALT key was pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Col" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Col">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Col.html#C1_Win_FlexGrid_KeyEditEventArgs_Col">Col</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column index of the cell being edited when the key was pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Control" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Control">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Control.html#C1_Win_FlexGrid_KeyEditEventArgs_Control">Control</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the CTRL key was pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Handled" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Handled">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Handled.html#C1_Win_FlexGrid_KeyEditEventArgs_Handled">Handled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the event was handled and should be ignored by the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_KeyCode" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.KeyCode">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.KeyCode.html#C1_Win_FlexGrid_KeyEditEventArgs_KeyCode">KeyCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the key code for the event, which will be one of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.keys">Keys</a> values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_KeyData" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.KeyData">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.KeyData.html#C1_Win_FlexGrid_KeyEditEventArgs_KeyData">KeyData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the key code for the key that was pressed, combined with modifier flags that indicate which
combination of CTRL, SHIFT, and ALT keys were pressed at the same time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_KeyValue" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.KeyValue">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.KeyValue.html#C1_Win_FlexGrid_KeyEditEventArgs_KeyValue">KeyValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the integer representation of the <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.KeyData.html#C1_Win_FlexGrid_KeyEditEventArgs_KeyData">KeyData</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Modifiers" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Modifiers">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Modifiers.html#C1_Win_FlexGrid_KeyEditEventArgs_Modifiers">Modifiers</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the modifier flags, as defined in Keys. This indicates which combination of modifier keys
(CTRL, SHIFT, and ALT) were pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Row" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Row">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Row.html#C1_Win_FlexGrid_KeyEditEventArgs_Row">Row</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the row index of the cell being edited when the key was pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_KeyEditEventArgs_Shift" data-uid="C1.Win.FlexGrid.KeyEditEventArgs.Shift">
          <a class="xref" href="C1.Win.FlexGrid.KeyEditEventArgs.Shift.html#C1_Win_FlexGrid_KeyEditEventArgs_Shift">Shift</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the SHIFT key was pressed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
