# C1.Win.FlexGrid.GroupDescription

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_GroupDescription" data-uid="C1.Win.FlexGrid.GroupDescription" class="text-break">GroupDescription Class
</h1>
  <div class="markdown level0 summary"><p>Describes the grouping of items using a property name as the criterion.</p>
<p>Each group description also specifies a sort direction for the property.
For example, if you group the data by Country, the grid will sort the
data by country before creating the groups.</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">GroupDescription</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_GroupDescription_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GroupDescription</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GroupDescription</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_FlexGrid_GroupDescription__ctor_System_String_" data-uid="C1.Win.FlexGrid.GroupDescription.#ctor(System.String)">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.-ctor.html#C1_Win_FlexGrid_GroupDescription__ctor_System_String_">GroupDescription(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.FlexGrid.GroupDescription.html">GroupDescription</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GroupDescription__ctor_System_String_System_Nullable_System_ComponentModel_ListSortDirection__" data-uid="C1.Win.FlexGrid.GroupDescription.#ctor(System.String,System.Nullable{System.ComponentModel.ListSortDirection})">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.-ctor.html#C1_Win_FlexGrid_GroupDescription__ctor_System_String_System_Nullable_System_ComponentModel_ListSortDirection__">GroupDescription(string, ListSortDirection?)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.FlexGrid.GroupDescription.html">GroupDescription</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GroupDescription__ctor_System_String_System_Nullable_System_ComponentModel_ListSortDirection__System_Boolean_" data-uid="C1.Win.FlexGrid.GroupDescription.#ctor(System.String,System.Nullable{System.ComponentModel.ListSortDirection},System.Boolean)">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.-ctor.html#C1_Win_FlexGrid_GroupDescription__ctor_System_String_System_Nullable_System_ComponentModel_ListSortDirection__System_Boolean_">GroupDescription(string, ListSortDirection?, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.FlexGrid.GroupDescription.html">GroupDescription</a>.</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_FlexGrid_GroupDescription_Group" data-uid="C1.Win.FlexGrid.GroupDescription.Group">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.Group.html#C1_Win_FlexGrid_GroupDescription_Group">Group</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether to group by this property.
Set to false if you want to sort but not group by this property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GroupDescription_PropertyName" data-uid="C1.Win.FlexGrid.GroupDescription.PropertyName">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.PropertyName.html#C1_Win_FlexGrid_GroupDescription_PropertyName">PropertyName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the name of the property to group on.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GroupDescription_SortDirection" data-uid="C1.Win.FlexGrid.GroupDescription.SortDirection">
          <a class="xref" href="C1.Win.FlexGrid.GroupDescription.SortDirection.html#C1_Win_FlexGrid_GroupDescription_SortDirection">SortDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sort direction of the property within the group.
May be set to null if you want to group but not sort by
this property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
