# C1.Web.Mvc.Grid.AutoSizeMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Grid_AutoSizeMode" data-uid="C1.Web.Mvc.Grid.AutoSizeMode" class="text-break">AutoSizeMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies constants that define the row/column auto-sizing behavior.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Grid.html">C1.Web.Mvc.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Grid_AutoSizeMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum AutoSizeMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum AutoSizeMode</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_Web_Mvc_Grid_AutoSizeMode_Both">Both</td>
        <td><p>Autosizing accounts for header and data cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_AutoSizeMode_Cells">Cells</td>
        <td><p>Autosizing accounts for data cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_AutoSizeMode_Headers">Headers</td>
        <td><p>Autosizing accounts for header cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_AutoSizeMode_None">None</td>
        <td><p>Autosizing is disabled.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
