# C1.Win.FlexGrid.C1FlexGridGroupPanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_C1FlexGridGroupPanel" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel" class="text-break">C1FlexGridGroupPanel Class
</h1>
  <div class="markdown level0 summary"><p>A C1FlexGrid extension control with ability to create groups in grid by user interactions.</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">C1FlexGridGroupPanel</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.GroupPanel.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_C1FlexGridGroupPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1FlexGridGroupPanel), &quot;GroupPanel.png&quot;)]
public class C1FlexGridGroupPanel : XViewHost</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1FlexGridGroupPanel), &quot;GroupPanel.png&quot;)&gt;
Public Class C1FlexGridGroupPanel
    Inherits XViewHost</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_C1FlexGridGroupPanel__ctor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.#ctor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.-ctor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel__ctor">C1FlexGridGroupPanel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.html">C1FlexGridGroupPanel</a> control.</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_C1FlexGridGroupPanel_AutoExpandAllGroups" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.AutoExpandAllGroups">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.AutoExpandAllGroups.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_AutoExpandAllGroups">AutoExpandAllGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether all the groups within the View are automatically expanded.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_AutoSize" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.AutoSize">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.AutoSize.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_AutoSize">AutoSize</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_BackColor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.BackColor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.BackColor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_BackgroundImage" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.BackgroundImage">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.BackgroundImage.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_BackgroundImage">BackgroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background image displayed in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_BorderColor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.BorderColor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.BorderColor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the control border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_BorderStyle" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.BorderStyle">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.BorderStyle.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.BorderStyle.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_BorderStyle">BorderStyle</a> value determining the type of border around the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_ContextMenuStrip" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ContextMenuStrip">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ContextMenuStrip.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_ContextMenuStrip">ContextMenuStrip</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_DefaultSize" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.DefaultSize">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.DefaultSize.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_DefaultSize">DefaultSize</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_FlexGrid" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.FlexGrid">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.FlexGrid.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_FlexGrid">FlexGrid</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="../C1.Win.FlexGrid.10/C1.Win.FlexGrid.C1FlexGrid.html">C1FlexGrid</a> that is connected to this <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.html">C1FlexGridGroupPanel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_ForeColor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ForeColor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ForeColor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_HideGroupedColumns" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.HideGroupedColumns">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.HideGroupedColumns.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_HideGroupedColumns">HideGroupedColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control should automatically hide grouped columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_IconsStyle" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.IconsStyle">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.IconsStyle.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_IconsStyle">IconsStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style of icons that are used by <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.html">C1FlexGridGroupPanel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_MaxGroups" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.MaxGroups">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.MaxGroups.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_MaxGroups">MaxGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of groups allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_ShowClearButton" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ShowClearButton">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ShowClearButton.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_ShowClearButton">ShowClearButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicates whether to show clear button for each group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_Styles" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.Styles">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.Styles.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_Styles">Styles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_Text" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.Text">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.Text.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the message that appears in the empty group area.</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_FlexGrid_C1FlexGridGroupPanel_Dispose_System_Boolean_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.Dispose.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnAutoSizeChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnAutoSizeChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnAutoSizeChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnAutoSizeChanged_System_EventArgs_">OnAutoSizeChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnBackgroundImageLayoutChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnBackgroundImageLayoutChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnBackgroundImageLayoutChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnBackgroundImageLayoutChanged_System_EventArgs_">OnBackgroundImageLayoutChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnContextMenuOpening_System_ComponentModel_CancelEventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnContextMenuOpening(System.ComponentModel.CancelEventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnContextMenuOpening.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnContextMenuOpening_System_ComponentModel_CancelEventArgs_">OnContextMenuOpening(CancelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Rises the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ContextMenuOpening.html">ContextMenuOpening</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnEnabledChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnEnabledChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnEnabledChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnEnabledChanged_System_EventArgs_">OnEnabledChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnFontChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnFontChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnFontChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnFontChanged_System_EventArgs_">OnFontChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.Control.FontChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnRightToLeftChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnRightToLeftChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnRightToLeftChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnRightToLeftChanged_System_EventArgs_">OnRightToLeftChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_OnStylesChanged_System_EventArgs_" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnStylesChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.OnStylesChanged.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_OnStylesChanged_System_EventArgs_">OnStylesChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Rises the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.StylesChanged.html">StylesChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_ResetBackColor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ResetBackColor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ResetBackColor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_ResetForeColor" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ResetForeColor">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ResetForeColor.html#C1_Win_FlexGrid_C1FlexGridGroupPanel_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_FlexGrid_C1FlexGridGroupPanel_ContextMenuOpening" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.ContextMenuOpening">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.ContextMenuOpening.html">ContextMenuOpening</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the context menu is opening.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_C1FlexGridGroupPanel_StylesChanged" data-uid="C1.Win.FlexGrid.C1FlexGridGroupPanel.StylesChanged">
          <a class="xref" href="C1.Win.FlexGrid.C1FlexGridGroupPanel.StylesChanged.html">StylesChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when theme or some style has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
