# C1.WPF.Grid.CancelEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_CancelEventArgs" data-uid="C1.WPF.Grid.CancelEventArgs" class="text-break">CancelEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Event data with a <a class="xref" href="C1.WPF.Grid.CancelEventArgs.Cancel.html#C1_WPF_Grid_CancelEventArgs_Cancel">Cancel</a> property that can be used to cancel the event.</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">CancelEventArgs</span></div>
      <div class="level3"><a class="xref" href="../C1.WPF.Grid/C1.WPF.Grid.GridAutoGeneratingColumnEventArgs.html">GridAutoGeneratingColumnEventArgs</a></div>
      <div class="level3"><a class="xref" href="../C1.WPF.Grid/C1.WPF.Grid.GridCellRangeEventArgs.html">GridCellRangeEventArgs</a></div>
      <div class="level3"><a class="xref" href="../C1.WPF.Grid/C1.WPF.Grid.GridColumnFilterLoadingEventArgs.html">GridColumnFilterLoadingEventArgs</a></div>
      <div class="level3"><a class="xref" href="../C1.WPF.Grid/C1.WPF.Grid.GridColumnOptionsLoadingEventArgs.html">GridColumnOptionsLoadingEventArgs</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Grid.GridControlRangeEventArgs.html">GridControlRangeEventArgs</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.Grid.GridControlSelectionEventArgs.html">GridControlSelectionEventArgs</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.GridControl.dll</h6>
  <h5 id="C1_WPF_Grid_CancelEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CancelEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CancelEventArgs
    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_WPF_Grid_CancelEventArgs__ctor_System_Boolean_" data-uid="C1.WPF.Grid.CancelEventArgs.#ctor(System.Boolean)">
          <a class="xref" href="C1.WPF.Grid.CancelEventArgs.-ctor.html#C1_WPF_Grid_CancelEventArgs__ctor_System_Boolean_">CancelEventArgs(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Grid.CancelEventArgs.html">CancelEventArgs</a> 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_WPF_Grid_CancelEventArgs_Cancel" data-uid="C1.WPF.Grid.CancelEventArgs.Cancel">
          <a class="xref" href="C1.WPF.Grid.CancelEventArgs.Cancel.html#C1_WPF_Grid_CancelEventArgs_Cancel">Cancel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the associated event should be canceled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_CancelEventArgs_Cancellable" data-uid="C1.WPF.Grid.CancelEventArgs.Cancellable">
          <a class="xref" href="C1.WPF.Grid.CancelEventArgs.Cancellable.html#C1_WPF_Grid_CancelEventArgs_Cancellable">Cancellable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the associated event is cancellable.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
