# C1.Report.FlexReport.Groups

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_FlexReport_Groups_" data-uid="C1.Report.FlexReport.Groups*">Groups Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_FlexReport_Groups_" data-uid="C1.Report.FlexReport.Groups*"></a>
<h4 id="C1_Report_FlexReport_Groups" data-uid="C1.Report.FlexReport.Groups">Groups</h4>
<div class="markdown level1 summary"><p>Gets a collection with all the groups in the report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public GroupCollection Groups { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public ReadOnly Property Groups As GroupCollection</code></pre>
</div>
<h5 id="C1_Report_FlexReport_Groups_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>Groups</b> collection contains all <a class="xref" href="C1.Report.Group.html">Group</a> objects defined in the current report.</p>
<p>Removing a <b>Group</b> from the collection also removes its associated header and footer sections, as well 
as any fields in those sections.</p>
<p>Adding a <b>Group</b> to the collection adds the corresponding group header and footer sections to the report.</p>
</div>
</div>
