# C1.Win.C1Editor.BeforeModeChangeEventHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Editor_BeforeModeChangeEventHandler" data-uid="C1.Win.C1Editor.BeforeModeChangeEventHandler" class="text-break">BeforeModeChangeEventHandler Delegate
</h1>
  <div class="markdown level0 summary"><p>Represents the method that will handle the <a class="xref" href="C1.Win.C1Editor.C1Editor.BeforeModeChange.html">BeforeModeChange</a> event of the editor.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Editor.html">C1.Win.C1Editor</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Editor.4.8.dll</h6>
  <h5 id="C1_Win_C1Editor_BeforeModeChangeEventHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate void BeforeModeChangeEventHandler(object sender, BeforeModeChangeEventArgs e)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Sub BeforeModeChangeEventHandler(sender As Object, e As BeforeModeChangeEventArgs)</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>The source of the event.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventArgs.html">BeforeModeChangeEventArgs</a></td>
        <td><span class="parametername">e</span></td>
        <td><p>A <a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventArgs.html">BeforeModeChangeEventArgs</a> that contains the event data.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_C1Editor_BeforeModeChangeEventHandler__ctor_System_Object_System_IntPtr_" data-uid="C1.Win.C1Editor.BeforeModeChangeEventHandler.#ctor(System.Object,System.IntPtr)">
          <a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventHandler.-ctor.html#C1_Win_C1Editor_BeforeModeChangeEventHandler__ctor_System_Object_System_IntPtr_">BeforeModeChangeEventHandler(object, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Editor_BeforeModeChangeEventHandler_BeginInvoke_System_Object_C1_Win_C1Editor_BeforeModeChangeEventArgs_System_AsyncCallback_System_Object_" data-uid="C1.Win.C1Editor.BeforeModeChangeEventHandler.BeginInvoke(System.Object,C1.Win.C1Editor.BeforeModeChangeEventArgs,System.AsyncCallback,System.Object)">
          <a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventHandler.BeginInvoke.html#C1_Win_C1Editor_BeforeModeChangeEventHandler_BeginInvoke_System_Object_C1_Win_C1Editor_BeforeModeChangeEventArgs_System_AsyncCallback_System_Object_">BeginInvoke(object, BeforeModeChangeEventArgs, AsyncCallback, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_BeforeModeChangeEventHandler_EndInvoke_System_IAsyncResult_" data-uid="C1.Win.C1Editor.BeforeModeChangeEventHandler.EndInvoke(System.IAsyncResult)">
          <a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventHandler.EndInvoke.html#C1_Win_C1Editor_BeforeModeChangeEventHandler_EndInvoke_System_IAsyncResult_">EndInvoke(IAsyncResult)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_BeforeModeChangeEventHandler_Invoke_System_Object_C1_Win_C1Editor_BeforeModeChangeEventArgs_" data-uid="C1.Win.C1Editor.BeforeModeChangeEventHandler.Invoke(System.Object,C1.Win.C1Editor.BeforeModeChangeEventArgs)">
          <a class="xref" href="C1.Win.C1Editor.BeforeModeChangeEventHandler.Invoke.html#C1_Win_C1Editor_BeforeModeChangeEventHandler_Invoke_System_Object_C1_Win_C1Editor_BeforeModeChangeEventArgs_">Invoke(object, BeforeModeChangeEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
