# C1.WPF.AutoSizeMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_AutoSizeMode" data-uid="C1.WPF.AutoSizeMode" class="text-break">AutoSizeMode Enum
</h1>
  <div class="markdown level0 summary"><p>Determines how the popup will be resized when the content changes its size.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_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_WPF_AutoSizeMode_GrowAndShrink">GrowAndShrink</td>
        <td><p>Change its size according to the content size</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_AutoSizeMode_GrowHorizontally">GrowHorizontally</td>
        <td><p>Grows its size horizontally, but it shrink its size vertically if needed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_AutoSizeMode_GrowOnly">GrowOnly</td>
        <td><p>Grows its size when the content is bigger but remains unchanged when the content size is smaller.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
