# FarPoint.Win.Spread.LegacyBehaviors

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="FarPoint_Win_Spread_LegacyBehaviors" data-uid="FarPoint.Win.Spread.LegacyBehaviors" class="text-break">LegacyBehaviors Enum
</h1>
  <div class="markdown level0 summary"><p>Represents options for backward compatibility.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_LegacyBehaviors_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum LegacyBehaviors</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum LegacyBehaviors</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="FarPoint_Win_Spread_LegacyBehaviors_All">All</td>
        <td><p>All behaviors are compatible with previous version.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_AutoRowHeight">AutoRowHeight</td>
        <td><p>Row height won't be auto adjusted when cell's value or properties are changed on UI of Spread, all auto fit row height will be treated as custom row height</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_CalculationEngine">CalculationEngine</td>
        <td><p>Fallbacks to old behaviors of calculation engine.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_KeepFormulaOnSetValue">KeepFormulaOnSetValue</td>
        <td><p>Any attempt to set a value to a cell that contains a formula to fail and instead raise the <a class="xref" href="FarPoint.Win.Spread.FpSpread.Error.html">Error</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_None">None</td>
        <td><p>New behaviors will be applied automatically in new releases.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_PreferTextOnExport">PreferTextOnExport</td>
        <td><p>The cell text will be exported if there is an explicit cell type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_PropertyDefaults">PropertyDefaults</td>
        <td><p>Initialized values of some properties will be different compared with previous versions.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_Protect">Protect</td>
        <td><p>Initialized values of sheetview's Protect and cell's lock will be different compared with previous versions.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_LegacyBehaviors_Style">Style</td>
        <td><p>All style default settings and behaviors will be compatible with previous version.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
