# C1.Report.Field.CanGrow

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Field_CanGrow_" data-uid="C1.Report.Field.CanGrow*">CanGrow Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Field_CanGrow_" data-uid="C1.Report.Field.CanGrow*"></a>
<h4 id="C1_Report_Field_CanGrow" data-uid="C1.Report.Field.CanGrow">CanGrow</h4>
<div class="markdown level1 summary"><p>Specifies whether the field height should be automatically increased to fit the field's contents.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use AutoHeight instead.&quot;)]
[C1Category(&quot;Layout&quot;)]
public bool CanGrow { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Obsolete(&quot;Use AutoHeight instead.&quot;)&gt;
&lt;C1Category(&quot;Layout&quot;)&gt;
Public Property CanGrow As Boolean</code></pre>
</div>
<h5 id="C1_Report_Field_CanGrow_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You can use the <a class="xref" href="C1.Report.Field.CanGrow.html#C1_Report_Field_CanGrow">CanGrow</a> and <a class="xref" href="C1.Report.Field.CanShrink.html#C1_Report_Field_CanShrink">CanShrink</a> properties to control 
the appearance of report fields and sections. When you set both properties to true, the field 
or section automatically adjusts so any amount of data can be printed. When a field grows or 
shrinks, the fields below it move down or up the page.</p>
<p>If you set a field's <a class="xref" href="C1.Report.Field.CanGrow.html#C1_Report_Field_CanGrow">CanGrow</a> property to true, the control automatically 
sets the <a class="xref" href="C1.Report.Field.CanGrow.html#C1_Report_Field_CanGrow">CanGrow</a> property of the containing section to true. (However, if you 
set a control's <a class="xref" href="C1.Report.Field.CanShrink.html#C1_Report_Field_CanShrink">CanShrink</a> property to true, the control doesn't set the section's 
<a class="xref" href="C1.Report.Field.CanShrink.html#C1_Report_Field_CanShrink">CanShrink</a> property to true.)</p>
<p>When you use the <a class="xref" href="C1.Report.Field.CanGrow.html#C1_Report_Field_CanGrow">CanGrow</a> and <a class="xref" href="C1.Report.Field.CanShrink.html#C1_Report_Field_CanShrink">CanShrink</a> properties, remember that:</p>
<p>1. The property settings don't affect the horizontal spacing between fields; they affect 
only the vertical space the fields occupy.</p>
<p>2. The height of a large field can prevent fields beside it from shrinking. For example, 
if several short controls are on the left side of a report's detail section and one tall control, 
such as an unbound object frame, is on the right side, the controls on the left won't shrink,
even if they contain no data.</p>
</div>
</div>
