# C1.Framework.AutoSizeElement

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Framework_AutoSizeElement" data-uid="C1.Framework.AutoSizeElement" class="text-break">AutoSizeElement Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies how the XView control should size the element it contains.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_AutoSizeElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum AutoSizeElement</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum AutoSizeElement</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_Framework_AutoSizeElement_Both">Both</td>
        <td><p>Auto size element by client area size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_AutoSizeElement_Height">Height</td>
        <td><p>Auto size element by client area height.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_AutoSizeElement_None">None</td>
        <td><p>No autosizing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_AutoSizeElement_Width">Width</td>
        <td><p>Auto size element by client area width.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
