# C1.Web.Mvc.Codabar.AutoWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_Codabar_AutoWidth_" data-uid="C1.Web.Mvc.Codabar.AutoWidth*">AutoWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_Codabar_AutoWidth_" data-uid="C1.Web.Mvc.Codabar.AutoWidth*"></a>
<h4 id="C1_Web_Mvc_Codabar_AutoWidth" data-uid="C1.Web.Mvc.Codabar.AutoWidth">AutoWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the control width should automatically change along with the Value length.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Json(1)]
public virtual bool AutoWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Json(1)&gt;
Public Overridable Property AutoWidth As Boolean</code></pre>
</div>
<h5 id="C1_Web_Mvc_Codabar_AutoWidth_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If you set this property value to false, you should ensure that the control has some reasonable <em>CSS width</em></p>
</div>
</div>
