# FarPoint.Win.Spread.CellType.RichTextEditor.SubEditorCancelEventHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_RichTextEditor_SubEditorCancelEventHandler" data-uid="FarPoint.Win.Spread.CellType.RichTextEditor.SubEditorCancelEventHandler" class="text-break">RichTextEditor.SubEditorCancelEventHandler Delegate
</h1>
  <div class="markdown level0 summary"><p>Represents a defined method that handles the canceling of the
<a class="xref" href="FarPoint.Win.Spread.CellType.RichTextEditor.SubEditorOpening.html">SubEditorOpening</a> event for the FpSpread component.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_RichTextEditor_SubEditorCancelEventHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate bool RichTextEditor.SubEditorCancelEventHandler(object sender, RichTextEditor.SubEditorCancelEventArgs e)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Function RichTextEditor.SubEditorCancelEventHandler(sender As Object, e As RichTextEditor.SubEditorCancelEventArgs) 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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
        <td><span class="parametername">sender</span></td>
        <td><p>Object that raised the event</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="FarPoint.Win.Spread.CellType.RichTextEditor.html">RichTextEditor</a>.<a class="xref" href="FarPoint.Win.Spread.CellType.RichTextEditor.SubEditorCancelEventArgs.html">SubEditorCancelEventArgs</a></td>
        <td><span class="parametername">e</span></td>
        <td><p>Object of RichTextEditor.SubEditorCancelEventArgs class that contains event data</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td>Represents a defined method that handles the canceling of the  event for the FpSpread component.</td>
      </tr>
    </tbody>
  </table>

</div>
