# C1.Win.GanttView.GroupDefinition

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_GroupDefinition" data-uid="C1.Win.GanttView.GroupDefinition" class="text-break">GroupDefinition Class
</h1>
  <div class="markdown level0 summary"><p>This class used to manage grouping.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">GroupDefinition</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_GroupDefinition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GroupDefinition</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GroupDefinition</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_GanttView_GroupDefinition__ctor" data-uid="C1.Win.GanttView.GroupDefinition.#ctor">
          <a class="xref" href="C1.Win.GanttView.GroupDefinition.-ctor.html#C1_Win_GanttView_GroupDefinition__ctor">GroupDefinition()</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize the a new <a class="xref" href="C1.Win.GanttView.GroupDefinition.html">GroupDefinition</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_GanttView_GroupDefinition_Items" data-uid="C1.Win.GanttView.GroupDefinition.Items">
          <a class="xref" href="C1.Win.GanttView.GroupDefinition.Items.html#C1_Win_GanttView_GroupDefinition_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>This is collection of group models.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupDefinition_MaintainHierarchy" data-uid="C1.Win.GanttView.GroupDefinition.MaintainHierarchy">
          <a class="xref" href="C1.Win.GanttView.GroupDefinition.MaintainHierarchy.html#C1_Win_GanttView_GroupDefinition_MaintainHierarchy">MaintainHierarchy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether maintain hierarchy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_GanttView_GroupDefinition_AddRange_System_Collections_Generic_ICollection_C1_Win_GanttView_BaseGroup__" data-uid="C1.Win.GanttView.GroupDefinition.AddRange(System.Collections.Generic.ICollection{C1.Win.GanttView.BaseGroup})">
          <a class="xref" href="C1.Win.GanttView.GroupDefinition.AddRange.html#C1_Win_GanttView_GroupDefinition_AddRange_System_Collections_Generic_ICollection_C1_Win_GanttView_BaseGroup__">AddRange(ICollection&lt;BaseGroup&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the range of <a class="xref" href="C1.Win.GanttView.BaseGroup.html">BaseGroup</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_GroupDefinition_OnMaintainHierarchyChanged_System_EventArgs_" data-uid="C1.Win.GanttView.GroupDefinition.OnMaintainHierarchyChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.GanttView.GroupDefinition.OnMaintainHierarchyChanged.html#C1_Win_GanttView_GroupDefinition_OnMaintainHierarchyChanged_System_EventArgs_">OnMaintainHierarchyChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the <span class="xref">MaintainHierarchyChanged</span> event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
