# C1.WPF.Menu.C1MenuGroup

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Menu_C1MenuGroup" data-uid="C1.WPF.Menu.C1MenuGroup" class="text-break">C1MenuGroup Class
</h1>
  <div class="markdown level0 summary"><p>Control that is used to separate items in menus and toolbar.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><span class="xref">C1MenuGroup</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Menu.html">C1.WPF.Menu</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Menu.dll</h6>
  <h5 id="C1_WPF_Menu_C1MenuGroup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplateVisualState(Name = &quot;Indented&quot;, GroupName = &quot;IndentedStates&quot;)]
[TemplateVisualState(Name = &quot;NonIndented&quot;, GroupName = &quot;IndentedStates&quot;)]
public class C1MenuGroup : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplateVisualState(Name:=&quot;Indented&quot;, GroupName:=&quot;IndentedStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;NonIndented&quot;, GroupName:=&quot;IndentedStates&quot;)&gt;
Public Class C1MenuGroup
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</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_Menu_C1MenuGroup__ctor" data-uid="C1.WPF.Menu.C1MenuGroup.#ctor">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.-ctor.html#C1_WPF_Menu_C1MenuGroup__ctor">C1MenuGroup()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Menu.C1MenuGroup.html">C1MenuGroup</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_Menu_C1MenuGroup_HeaderProperty" data-uid="C1.WPF.Menu.C1MenuGroup.HeaderProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.HeaderProperty.html">HeaderProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuGroup.Header.html#C1_WPF_Menu_C1MenuGroup_Header">Header</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_IndentBackgroundProperty" data-uid="C1.WPF.Menu.C1MenuGroup.IndentBackgroundProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IndentBackgroundProperty.html">IndentBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IndentBackground.html#C1_WPF_Menu_C1MenuGroup_IndentBackground">IndentBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_IsIndentedProperty" data-uid="C1.WPF.Menu.C1MenuGroup.IsIndentedProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IsIndentedProperty.html">IsIndentedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IsIndented.html#C1_WPF_Menu_C1MenuGroup_IsIndented">IsIndented</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_Menu_C1MenuGroup_Header" data-uid="C1.WPF.Menu.C1MenuGroup.Header">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.Header.html#C1_WPF_Menu_C1MenuGroup_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the header of the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_IndentBackground" data-uid="C1.WPF.Menu.C1MenuGroup.IndentBackground">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IndentBackground.html#C1_WPF_Menu_C1MenuGroup_IndentBackground">IndentBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to paint the Indent band at the left.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_IsDisposed" data-uid="C1.WPF.Menu.C1MenuGroup.IsDisposed">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IsDisposed.html#C1_WPF_Menu_C1MenuGroup_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_IsIndented" data-uid="C1.WPF.Menu.C1MenuGroup.IsIndented">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.IsIndented.html#C1_WPF_Menu_C1MenuGroup_IsIndented">IsIndented</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Indent band is displayed.</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_Menu_C1MenuGroup_ChangeVisualStateIndented_System_Boolean_" data-uid="C1.WPF.Menu.C1MenuGroup.ChangeVisualStateIndented(System.Boolean)">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.ChangeVisualStateIndented.html#C1_WPF_Menu_C1MenuGroup_ChangeVisualStateIndented_System_Boolean_">ChangeVisualStateIndented(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Indented visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_Dispose" data-uid="C1.WPF.Menu.C1MenuGroup.Dispose">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.Dispose.html#C1_WPF_Menu_C1MenuGroup_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_Dispose_System_Boolean_" data-uid="C1.WPF.Menu.C1MenuGroup.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.Dispose.html#C1_WPF_Menu_C1MenuGroup_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_Finalize" data-uid="C1.WPF.Menu.C1MenuGroup.Finalize">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.Finalize.html#C1_WPF_Menu_C1MenuGroup_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Menu.C1MenuGroup.html">C1MenuGroup</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuGroup_OnApplyTemplate" data-uid="C1.WPF.Menu.C1MenuGroup.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Menu.C1MenuGroup.OnApplyTemplate.html#C1_WPF_Menu_C1MenuGroup_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
