# C1.Win.C1Editor.C1Editor.BeforeModeChange

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_C1Editor_C1Editor_BeforeModeChange" data-uid="C1.Win.C1Editor.C1Editor.BeforeModeChange" class="text-break">BeforeModeChange Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the <a class="xref" href="C1.Win.C1Editor.C1Editor.Mode.html#C1_Win_C1Editor_C1Editor_Mode">Mode</a> of the Editor is about to change.</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_C1Editor_BeforeModeChange_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event BeforeModeChangeEventHandler BeforeModeChange</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event BeforeModeChange As BeforeModeChangeEventHandler</code></pre>
</div>
<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="C1.Win.C1Editor.BeforeModeChangeEventHandler.html">BeforeModeChangeEventHandler</a></td>
      <td>Occurs when the  of the Editor is about to change.</td>
    </tr>
  </tbody>
</table>
</div>
