# GrapeCity.Wpf.SpreadSheet.CellType.Editors.CrLfMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CrLfMode" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.CrLfMode" class="text-break">CrLfMode Enum
</h1>
  <div class="markdown level0 summary"><p>Defines the CrLf mode which describes how to process the CrLf char.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CrLfMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CrLfMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CrLfMode</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CrLfMode_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>When <span class="xref">GrapeCity.Windows.InputMan.GcTextBox.Multiline</span> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>,
if you set <span class="xref">GrapeCity.Windows.InputMan.GcTextBox.AcceptsCrLf</span> to GrapeCity.Windows.InputMan.CrLfMode.Cut,
only the substring before the first CrLf char will be kept when pasting;
if setting <span class="xref">GrapeCity.Windows.InputMan.GcTextBox.AcceptsCrLf</span> to GrapeCity.Windows.InputMan.CrLfMode.Filter,
the CrLf chars in the source string will be removed.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CrLfMode_Cut">Cut</td>
        <td><p>Cuts the following strings from the first CrLf char in copied, cut and pasted string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_CrLfMode_Filter">Filter</td>
        <td><p>Removes all CrLf chars in copied, cut or pasted strings.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
