# C1.WPF.Menu.C1MenuSeparator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Menu_C1MenuSeparator" data-uid="C1.WPF.Menu.C1MenuSeparator" class="text-break">C1MenuSeparator 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">C1MenuSeparator</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_C1MenuSeparator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;VerticalTemplate&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;HorizontalTemplate&quot;, Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;MouseOver&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Focused&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Indented&quot;, GroupName = &quot;IndentedStates&quot;)]
[TemplateVisualState(Name = &quot;NonIndented&quot;, GroupName = &quot;IndentedStates&quot;)]
public class C1MenuSeparator : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;VerticalTemplate&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;HorizontalTemplate&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;MouseOver&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Focused&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Indented&quot;, GroupName:=&quot;IndentedStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;NonIndented&quot;, GroupName:=&quot;IndentedStates&quot;)&gt;
Public Class C1MenuSeparator
    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_C1MenuSeparator__ctor" data-uid="C1.WPF.Menu.C1MenuSeparator.#ctor">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.-ctor.html#C1_WPF_Menu_C1MenuSeparator__ctor">C1MenuSeparator()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.html">C1MenuSeparator</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_C1MenuSeparator_IndentBackgroundProperty" data-uid="C1.WPF.Menu.C1MenuSeparator.IndentBackgroundProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IndentBackgroundProperty.html">IndentBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IndentBackground.html#C1_WPF_Menu_C1MenuSeparator_IndentBackground">IndentBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_IsIndentedProperty" data-uid="C1.WPF.Menu.C1MenuSeparator.IsIndentedProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IsIndentedProperty.html">IsIndentedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IsIndented.html#C1_WPF_Menu_C1MenuSeparator_IsIndented">IsIndented</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_OrientationProperty" data-uid="C1.WPF.Menu.C1MenuSeparator.OrientationProperty">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.OrientationProperty.html">OrientationProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.Orientation.html#C1_WPF_Menu_C1MenuSeparator_Orientation">Orientation</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_C1MenuSeparator_IndentBackground" data-uid="C1.WPF.Menu.C1MenuSeparator.IndentBackground">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IndentBackground.html#C1_WPF_Menu_C1MenuSeparator_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_C1MenuSeparator_IsDisposed" data-uid="C1.WPF.Menu.C1MenuSeparator.IsDisposed">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IsDisposed.html#C1_WPF_Menu_C1MenuSeparator_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_C1MenuSeparator_IsFocused" data-uid="C1.WPF.Menu.C1MenuSeparator.IsFocused">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IsFocused.html#C1_WPF_Menu_C1MenuSeparator_IsFocused">IsFocused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the control is focused.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_IsIndented" data-uid="C1.WPF.Menu.C1MenuSeparator.IsIndented">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.IsIndented.html#C1_WPF_Menu_C1MenuSeparator_IsIndented">IsIndented</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Indent band is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_Orientation" data-uid="C1.WPF.Menu.C1MenuSeparator.Orientation">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.Orientation.html#C1_WPF_Menu_C1MenuSeparator_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of the separator.</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_C1MenuSeparator_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.Menu.C1MenuSeparator.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.ChangeVisualStateCommon.html#C1_WPF_Menu_C1MenuSeparator_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_ChangeVisualStateIndented_System_Boolean_" data-uid="C1.WPF.Menu.C1MenuSeparator.ChangeVisualStateIndented(System.Boolean)">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.ChangeVisualStateIndented.html#C1_WPF_Menu_C1MenuSeparator_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_C1MenuSeparator_Dispose" data-uid="C1.WPF.Menu.C1MenuSeparator.Dispose">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.Dispose.html#C1_WPF_Menu_C1MenuSeparator_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_Dispose_System_Boolean_" data-uid="C1.WPF.Menu.C1MenuSeparator.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.Dispose.html#C1_WPF_Menu_C1MenuSeparator_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_Finalize" data-uid="C1.WPF.Menu.C1MenuSeparator.Finalize">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.Finalize.html#C1_WPF_Menu_C1MenuSeparator_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.html">C1MenuSeparator</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Menu_C1MenuSeparator_OnApplyTemplate" data-uid="C1.WPF.Menu.C1MenuSeparator.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Menu.C1MenuSeparator.OnApplyTemplate.html#C1_WPF_Menu_C1MenuSeparator_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
