# C1.WPF.RichTextBox.ReturnMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_RichTextBox_ReturnMode" data-uid="C1.WPF.RichTextBox.ReturnMode" class="text-break">ReturnMode Enum
</h1>
  <div class="markdown level0 summary"><p>Defines the way in which <a class="xref" href="C1.WPF.RichTextBox.C1RichTextBox.html">C1RichTextBox</a> handles the return key.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_ReturnMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ReturnMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ReturnMode</code></pre>
  </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_WPF_RichTextBox_ReturnMode_Default">Default</td>
        <td><p>The Return key inserts soft line breaks if shift is held, and hard line breaks otherwise.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ReturnMode_HardLineBreak">HardLineBreak</td>
        <td><p>The Return key inserts hard line breaks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ReturnMode_SoftLineBreak">SoftLineBreak</td>
        <td><p>The Return key inserts soft line breaks.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
