# GrapeCity.Documents.Drawing.CellStyle.MaxWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Drawing_CellStyle_MaxWidth_" data-uid="GrapeCity.Documents.Drawing.CellStyle.MaxWidth*">MaxWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Drawing_CellStyle_MaxWidth_" data-uid="GrapeCity.Documents.Drawing.CellStyle.MaxWidth*"></a>
<h4 id="GrapeCity_Documents_Drawing_CellStyle_MaxWidth" data-uid="GrapeCity.Documents.Drawing.CellStyle.MaxWidth">MaxWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets the maximum width of the content area, in graphic units.</p>
<p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> (the default value) means there is no limit on the maximum width.</p>
<p>The value is ignored if the <a class="xref" href="GrapeCity.Documents.Drawing.CellStyle.FixedWidth.html#GrapeCity_Documents_Drawing_CellStyle_FixedWidth">FixedWidth</a> property is set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public float? MaxWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property MaxWidth As Single?</code></pre>
</div>
</div>
