# C1.Win.C1Editor.EditorMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Editor_EditorMode" data-uid="C1.Win.C1Editor.EditorMode" class="text-break">EditorMode Enum
</h1>
  <div class="markdown level0 summary"><p>Defines the behavior of the <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a>.</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_EditorMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum EditorMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum EditorMode</code></pre>
  </div>
  <h5 id="C1_Win_C1Editor_EditorMode_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>EditorMode is used by the <a class="xref" href="C1.Win.C1Editor.C1Editor.Mode.html#C1_Win_C1Editor_C1Editor_Mode">Mode</a>  property.</p>
</div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_C1Editor_EditorMode_Design">Design</td>
        <td><p>Design is the main mode of the editor.
<a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a> in this mode represents a WYSIWYG XHTML editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_EditorMode_Preview">Preview</td>
        <td><p>Preview mode allows you to preview how the document will look.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_EditorMode_Source">Source</td>
        <td><p>Source mode allows you to edit XHTML markup.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
