# C1.WPF.FlexGrid.CellEditEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_CellEditEventArgs__ctor_" data-uid="C1.WPF.FlexGrid.CellEditEventArgs.#ctor*">CellEditEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_CellEditEventArgs__ctor_" data-uid="C1.WPF.FlexGrid.CellEditEventArgs.#ctor*"></a>
<h4 id="C1_WPF_FlexGrid_CellEditEventArgs__ctor_C1_WPF_FlexGrid_GridPanel_C1_WPF_FlexGrid_CellRange_System_Windows_FrameworkElement_System_Boolean_" data-uid="C1.WPF.FlexGrid.CellEditEventArgs.#ctor(C1.WPF.FlexGrid.GridPanel,C1.WPF.FlexGrid.CellRange,System.Windows.FrameworkElement,System.Boolean)">CellEditEventArgs(GridPanel, CellRange, FrameworkElement, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.CellEditEventArgs.html">CellEditEventArgs</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellEditEventArgs(GridPanel panel, CellRange rng, FrameworkElement editor, bool cancelEdits)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(panel As GridPanel, rng As CellRange, editor As FrameworkElement, cancelEdits As Boolean)</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="C1.WPF.FlexGrid.GridPanel.html">GridPanel</a></td>
      <td><span class="parametername">panel</span></td>
      <td><p><a class="xref" href="C1.WPF.FlexGrid.GridPanel.html">GridPanel</a> that contains the range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.FlexGrid.CellRange.html">CellRange</a></td>
      <td><span class="parametername">rng</span></td>
      <td><p><a class="xref" href="C1.WPF.FlexGrid.CellRange.html">CellRange</a> represented by this object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">editor</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a> used to edit the cell value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">cancelEdits</span></td>
      <td><p>Value that indicates whether the edits are being committed or canceled.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
