# C1.Report.KeepTogetherEnum

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Report_KeepTogetherEnum" data-uid="C1.Report.KeepTogetherEnum" class="text-break">KeepTogetherEnum Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies whether the group should be kept together on a page.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_KeepTogetherEnum_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum KeepTogetherEnum</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum KeepTogetherEnum</code></pre>
  </div>
  <h5 id="C1_Report_KeepTogetherEnum_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Use the members of this enumeration to set the value of the <a class="xref" href="C1.Report.Group.KeepTogether.html#C1_Report_Group_KeepTogether">KeepTogether</a> and
<a class="xref" href="C1.Report.Section.KeepTogether.html#C1_Report_Section_KeepTogether">KeepTogether</a> property in the <a class="xref" href="C1.Report.Group.html">Group</a> and <a class="xref" href="C1.Report.Section.html">Section</a> classes.</p>
</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_Report_KeepTogetherEnum_KeepFirstDetail">KeepFirstDetail</td>
        <td><p>Keep the group header and first detail section together on a page.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_KeepTogetherEnum_KeepNothing">KeepNothing</td>
        <td><p>Do not try to keep the group together.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_KeepTogetherEnum_KeepWholeGroup">KeepWholeGroup</td>
        <td><p>Keep the group header, detail, and footer together on a page.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
