# GrapeCity.Wpf.SpreadSheet.AutoFitMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Wpf_SpreadSheet_AutoFitMode" data-uid="GrapeCity.Wpf.SpreadSheet.AutoFitMode" class="text-break">AutoFitMode Enum
</h1>
  <div class="markdown level0 summary"><p>Indicates which user can auto-fit.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.html">GrapeCity.Wpf.SpreadSheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_AutoFitMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum AutoFitMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum AutoFitMode</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="GrapeCity_Wpf_SpreadSheet_AutoFitMode_All">All</td>
        <td><p>Allows auto-fit both of rows and columns.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_AutoFitMode_Column">Column</td>
        <td><p>Allows auto-fit columns only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_AutoFitMode_None">None</td>
        <td><p>Not allow auto-fit rows/columns.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_AutoFitMode_Row">Row</td>
        <td><p>Allows auto-fit rows only.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
