# C1.WPF.Grid.GridGroupRowCell

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridGroupRowCell" data-uid="C1.WPF.Grid.GridGroupRowCell" class="text-break">GridGroupRowCell Class
</h1>
  <div class="markdown level0 summary"><p>Visual element displayed in the group rows to allow the user expand and collapse as well as displaying the name of the group.</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">GridGroupRowCell</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IDependencyObject</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridGroupRowCell_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;GroupLabel&quot;, Type = typeof(TextBlock))]
[TemplatePart(Name = &quot;ToggleButton&quot;, Type = typeof(C1ToggleButton))]
public class GridGroupRowCell : C1View, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;GroupLabel&quot;, Type:=GetType(TextBlock))&gt;
&lt;TemplatePart(Name:=&quot;ToggleButton&quot;, Type:=GetType(C1ToggleButton))&gt;
Public Class GridGroupRowCell
    Inherits C1View
    Implements IDependencyObject</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_WPF_Grid_GridGroupRowCell__ctor" data-uid="C1.WPF.Grid.GridGroupRowCell.#ctor">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.-ctor.html#C1_WPF_Grid_GridGroupRowCell__ctor">GridGroupRowCell()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.html">GridGroupRowCell</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_ExpandDownProperty" data-uid="C1.WPF.Grid.GridGroupRowCell.ExpandDownProperty">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.ExpandDownProperty.html">ExpandDownProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.ExpandDown.html#C1_WPF_Grid_GridGroupRowCell_ExpandDown">ExpandDown</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupCollapsedIconTemplateProperty" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupCollapsedIconTemplateProperty">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupCollapsedIconTemplateProperty.html">GroupCollapsedIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupCollapsedIconTemplate.html#C1_WPF_Grid_GridGroupRowCell_GroupCollapsedIconTemplate">GroupCollapsedIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupExpandedIconTemplateProperty" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupExpandedIconTemplateProperty">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupExpandedIconTemplateProperty.html">GroupExpandedIconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupExpandedIconTemplate.html#C1_WPF_Grid_GridGroupRowCell_GroupExpandedIconTemplate">GroupExpandedIconTemplate</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupTextProperty" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupTextProperty">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupTextProperty.html">GroupTextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupText.html#C1_WPF_Grid_GridGroupRowCell_GroupText">GroupText</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_IsCollapsedProperty" data-uid="C1.WPF.Grid.GridGroupRowCell.IsCollapsedProperty">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.IsCollapsedProperty.html">IsCollapsedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.IsCollapsed.html#C1_WPF_Grid_GridGroupRowCell_IsCollapsed">IsCollapsed</a> dependency property.</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_WPF_Grid_GridGroupRowCell_ExpandDown" data-uid="C1.WPF.Grid.GridGroupRowCell.ExpandDown">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.ExpandDown.html#C1_WPF_Grid_GridGroupRowCell_ExpandDown">ExpandDown</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the group is expanded downwards.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupCollapsedIconTemplate" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupCollapsedIconTemplate">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupCollapsedIconTemplate.html#C1_WPF_Grid_GridGroupRowCell_GroupCollapsedIconTemplate">GroupCollapsedIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the template used to create the icon displayed when the group is collapsed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupExpandedIconTemplate" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupExpandedIconTemplate">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupExpandedIconTemplate.html#C1_WPF_Grid_GridGroupRowCell_GroupExpandedIconTemplate">GroupExpandedIconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the template used to create the icon displayed when the group is expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_GroupText" data-uid="C1.WPF.Grid.GridGroupRowCell.GroupText">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.GroupText.html#C1_WPF_Grid_GridGroupRowCell_GroupText">GroupText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the group text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_IsCollapsed" data-uid="C1.WPF.Grid.GridGroupRowCell.IsCollapsed">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.IsCollapsed.html#C1_WPF_Grid_GridGroupRowCell_IsCollapsed">IsCollapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the group is collapsed.</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_WPF_Grid_GridGroupRowCell_Dispose_System_Boolean_" data-uid="C1.WPF.Grid.GridGroupRowCell.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.Dispose.html#C1_WPF_Grid_GridGroupRowCell_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_OnApplyTemplate" data-uid="C1.WPF.Grid.GridGroupRowCell.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.OnApplyTemplate.html#C1_WPF_Grid_GridGroupRowCell_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_OnIsCollapsedChanged_System_EventArgs_" data-uid="C1.WPF.Grid.GridGroupRowCell.OnIsCollapsedChanged(System.EventArgs)">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.OnIsCollapsedChanged.html#C1_WPF_Grid_GridGroupRowCell_OnIsCollapsedChanged_System_EventArgs_">OnIsCollapsedChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the group is toggled.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Grid_GridGroupRowCell_IsCollapsedChanged" data-uid="C1.WPF.Grid.GridGroupRowCell.IsCollapsedChanged">
          <a class="xref" href="C1.WPF.Grid.GridGroupRowCell.IsCollapsedChanged.html">IsCollapsedChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the group is toggled.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
