# C1.Report.Section.KeepTogether

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Section_KeepTogether_" data-uid="C1.Report.Section.KeepTogether*">KeepTogether Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Section_KeepTogether_" data-uid="C1.Report.Section.KeepTogether*"></a>
<h4 id="C1_Report_Section_KeepTogether" data-uid="C1.Report.Section.KeepTogether">KeepTogether</h4>
<div class="markdown level1 summary"><p>Specifies whether the <a class="xref" href="C1.Report.Section.html">Section</a> should be kept together on a page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
[Obsolete(&quot;Use SplitBehavior instead.&quot;)]
public bool KeepTogether { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
&lt;Obsolete(&quot;Use SplitBehavior instead.&quot;)&gt;
Public Property KeepTogether As Boolean</code></pre>
</div>
<h5 id="C1_Report_Section_KeepTogether_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.Report.Group.html">Group</a> and <a class="xref" href="C1.Report.Field.html">Field</a> objects also have <b>KeepTogether</b> properties.</p>
<p>The <a class="xref" href="C1.Report.Group.html">Group</a> object's <a class="xref" href="C1.Report.Group.KeepTogether.html#C1_Report_Group_KeepTogether">KeepTogether</a> property works across sections. 
It determines whether group headers should be kept together with their first detail section or whether entire 
groups should be kept together on a page.</p>
<p>The <a class="xref" href="C1.Report.Field.html">Field</a> object's <a class="xref" href="C1.Report.FieldBase.KeepTogether.html#C1_Report_FieldBase_KeepTogether">KeepTogether</a> property determines whether the
field should be rendered on a single page or whether it is allowed to be split across page breaks.</p>
</div>
</div>
