# C1.WPF.C1MenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1MenuItem" data-uid="C1.WPF.C1MenuItem" class="text-break">C1MenuItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a selectable item inside a C1Menu control.</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.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level8"><a class="xref" href="C1.WPF.C1HierarchicalPresenter.html">C1HierarchicalPresenter</a></div>
    <div class="level9"><span class="xref">C1MenuItem</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.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.icontainitemstorage">IContainItemStorage</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1MenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;HeaderPanel&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;ExpandIcon&quot;, Type = typeof(Shape))]
[TemplatePart(Name = &quot;MenuIcon&quot;, Type = typeof(ContentControl))]
[TemplatePart(Name = &quot;CheckIcon&quot;, Type = typeof(FrameworkElement))]
[TemplatePart(Name = &quot;SubItemsPopup&quot;, Type = typeof(Popup))]
[TemplatePart(Name = &quot;SubItemsPresenter&quot;, Type = typeof(ItemsPresenter))]
[TemplatePart(Name = &quot;HExpandIcon&quot;, Type = typeof(Shape))]
[TemplatePart(Name = &quot;VExpandIcon&quot;, Type = typeof(Shape))]
[TemplateVisualState(Name = &quot;Opened&quot;, GroupName = &quot;OpenedStates&quot;)]
[TemplateVisualState(Name = &quot;Closed&quot;, GroupName = &quot;OpenedStates&quot;)]
[TemplateVisualState(Name = &quot;Highlighted&quot;, GroupName = &quot;HighlightedStates&quot;)]
[TemplateVisualState(Name = &quot;NonHighlighted&quot;, GroupName = &quot;HighlightedStates&quot;)]
public class C1MenuItem : C1HierarchicalPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;HeaderPanel&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;ExpandIcon&quot;, Type:=GetType(Shape))&gt;
&lt;TemplatePart(Name:=&quot;MenuIcon&quot;, Type:=GetType(ContentControl))&gt;
&lt;TemplatePart(Name:=&quot;CheckIcon&quot;, Type:=GetType(FrameworkElement))&gt;
&lt;TemplatePart(Name:=&quot;SubItemsPopup&quot;, Type:=GetType(Popup))&gt;
&lt;TemplatePart(Name:=&quot;SubItemsPresenter&quot;, Type:=GetType(ItemsPresenter))&gt;
&lt;TemplatePart(Name:=&quot;HExpandIcon&quot;, Type:=GetType(Shape))&gt;
&lt;TemplatePart(Name:=&quot;VExpandIcon&quot;, Type:=GetType(Shape))&gt;
&lt;TemplateVisualState(Name:=&quot;Opened&quot;, GroupName:=&quot;OpenedStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Closed&quot;, GroupName:=&quot;OpenedStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Highlighted&quot;, GroupName:=&quot;HighlightedStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;NonHighlighted&quot;, GroupName:=&quot;HighlightedStates&quot;)&gt;
Public Class C1MenuItem
    Inherits C1HierarchicalPresenter
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage</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_C1MenuItem__ctor" data-uid="C1.WPF.C1MenuItem.#ctor">
          <a class="xref" href="C1.WPF.C1MenuItem.-ctor.html#C1_WPF_C1MenuItem__ctor">C1MenuItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a>.</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_C1MenuItem_CommandParameterProperty" data-uid="C1.WPF.C1MenuItem.CommandParameterProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.CommandParameterProperty.html">CommandParameterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.CommandParameter.html#C1_WPF_C1MenuItem_CommandParameter">CommandParameter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_CommandProperty" data-uid="C1.WPF.C1MenuItem.CommandProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.CommandProperty.html">CommandProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.Command.html#C1_WPF_C1MenuItem_Command">Command</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_DisabledCuesVisibilityProperty" data-uid="C1.WPF.C1MenuItem.DisabledCuesVisibilityProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.DisabledCuesVisibilityProperty.html">DisabledCuesVisibilityProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.DisabledCuesVisibility.html#C1_WPF_C1MenuItem_DisabledCuesVisibility">DisabledCuesVisibility</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_FocusCuesVisibilityProperty" data-uid="C1.WPF.C1MenuItem.FocusCuesVisibilityProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.FocusCuesVisibilityProperty.html">FocusCuesVisibilityProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.FocusCuesVisibility.html#C1_WPF_C1MenuItem_FocusCuesVisibility">FocusCuesVisibility</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_GroupNameProperty" data-uid="C1.WPF.C1MenuItem.GroupNameProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.GroupNameProperty.html">GroupNameProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.GroupName.html#C1_WPF_C1MenuItem_GroupName">GroupName</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HeaderBackgroundProperty" data-uid="C1.WPF.C1MenuItem.HeaderBackgroundProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.HeaderBackgroundProperty.html">HeaderBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.HeaderBackground.html#C1_WPF_C1MenuItem_HeaderBackground">HeaderBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HeaderForegroundProperty" data-uid="C1.WPF.C1MenuItem.HeaderForegroundProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.HeaderForegroundProperty.html">HeaderForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.HeaderForeground.html#C1_WPF_C1MenuItem_HeaderForeground">HeaderForeground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HighlightedBackgroundProperty" data-uid="C1.WPF.C1MenuItem.HighlightedBackgroundProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.HighlightedBackgroundProperty.html">HighlightedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.HighlightedBackground.html#C1_WPF_C1MenuItem_HighlightedBackground">HighlightedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IconProperty" data-uid="C1.WPF.C1MenuItem.IconProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.IconProperty.html">IconProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.Icon.html#C1_WPF_C1MenuItem_Icon">Icon</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_InputGestureTextProperty" data-uid="C1.WPF.C1MenuItem.InputGestureTextProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.InputGestureTextProperty.html">InputGestureTextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.InputGestureText.html#C1_WPF_C1MenuItem_InputGestureText">InputGestureText</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsCheckableProperty" data-uid="C1.WPF.C1MenuItem.IsCheckableProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.IsCheckableProperty.html">IsCheckableProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.IsCheckable.html#C1_WPF_C1MenuItem_IsCheckable">IsCheckable</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsCheckedProperty" data-uid="C1.WPF.C1MenuItem.IsCheckedProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.IsCheckedProperty.html">IsCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.IsChecked.html#C1_WPF_C1MenuItem_IsChecked">IsChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsHighlightedProperty" data-uid="C1.WPF.C1MenuItem.IsHighlightedProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.IsHighlightedProperty.html">IsHighlightedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.IsHighlighted.html#C1_WPF_C1MenuItem_IsHighlighted">IsHighlighted</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsSubmenuOpenProperty" data-uid="C1.WPF.C1MenuItem.IsSubmenuOpenProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.IsSubmenuOpenProperty.html">IsSubmenuOpenProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.IsSubmenuOpen.html#C1_WPF_C1MenuItem_IsSubmenuOpen">IsSubmenuOpen</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OpenedBackgroundProperty" data-uid="C1.WPF.C1MenuItem.OpenedBackgroundProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.OpenedBackgroundProperty.html">OpenedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.OpenedBackground.html#C1_WPF_C1MenuItem_OpenedBackground">OpenedBackground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubMenuMaxHeightProperty" data-uid="C1.WPF.C1MenuItem.SubMenuMaxHeightProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.SubMenuMaxHeightProperty.html">SubMenuMaxHeightProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.SubMenuMaxHeight.html#C1_WPF_C1MenuItem_SubMenuMaxHeight">SubMenuMaxHeight</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextAlignmentProperty" data-uid="C1.WPF.C1MenuItem.TextAlignmentProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.TextAlignmentProperty.html">TextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.TextAlignment.html#C1_WPF_C1MenuItem_TextAlignment">TextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextDecorationsProperty" data-uid="C1.WPF.C1MenuItem.TextDecorationsProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.TextDecorationsProperty.html">TextDecorationsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.TextDecorations.html#C1_WPF_C1MenuItem_TextDecorations">TextDecorations</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextWrappingProperty" data-uid="C1.WPF.C1MenuItem.TextWrappingProperty">
          <a class="xref" href="C1.WPF.C1MenuItem.TextWrappingProperty.html">TextWrappingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.C1MenuItem.TextWrapping.html#C1_WPF_C1MenuItem_TextWrapping">TextWrapping</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_C1MenuItem_Command" data-uid="C1.WPF.C1MenuItem.Command">
          <a class="xref" href="C1.WPF.C1MenuItem.Command.html#C1_WPF_C1MenuItem_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command to invoke when this button is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_CommandParameter" data-uid="C1.WPF.C1MenuItem.CommandParameter">
          <a class="xref" href="C1.WPF.C1MenuItem.CommandParameter.html#C1_WPF_C1MenuItem_CommandParameter">CommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter to pass to the Command property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_DisabledCuesVisibility" data-uid="C1.WPF.C1MenuItem.DisabledCuesVisibility">
          <a class="xref" href="C1.WPF.C1MenuItem.DisabledCuesVisibility.html#C1_WPF_C1MenuItem_DisabledCuesVisibility">DisabledCuesVisibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the disabled visuals of the control are visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_FocusCuesVisibility" data-uid="C1.WPF.C1MenuItem.FocusCuesVisibility">
          <a class="xref" href="C1.WPF.C1MenuItem.FocusCuesVisibility.html#C1_WPF_C1MenuItem_FocusCuesVisibility">FocusCuesVisibility</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the focus visuals of the control are visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_GroupName" data-uid="C1.WPF.C1MenuItem.GroupName">
          <a class="xref" href="C1.WPF.C1MenuItem.GroupName.html#C1_WPF_C1MenuItem_GroupName">GroupName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name that specifies which MenuItems are mutually exclusive (when checkable).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HeaderBackground" data-uid="C1.WPF.C1MenuItem.HeaderBackground">
          <a class="xref" href="C1.WPF.C1MenuItem.HeaderBackground.html#C1_WPF_C1MenuItem_HeaderBackground">HeaderBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background brush of the header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HeaderForeground" data-uid="C1.WPF.C1MenuItem.HeaderForeground">
          <a class="xref" href="C1.WPF.C1MenuItem.HeaderForeground.html#C1_WPF_C1MenuItem_HeaderForeground">HeaderForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground brush of the header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_HighlightedBackground" data-uid="C1.WPF.C1MenuItem.HighlightedBackground">
          <a class="xref" href="C1.WPF.C1MenuItem.HighlightedBackground.html#C1_WPF_C1MenuItem_HighlightedBackground">HighlightedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used to highlight the menu item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Icon" data-uid="C1.WPF.C1MenuItem.Icon">
          <a class="xref" href="C1.WPF.C1MenuItem.Icon.html#C1_WPF_C1MenuItem_Icon">Icon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the icon that appears in a C1MenuItem.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Index" data-uid="C1.WPF.C1MenuItem.Index">
          <a class="xref" href="C1.WPF.C1MenuItem.Index.html#C1_WPF_C1MenuItem_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of this <span class="xref">C1.Silverlight.C1MenuItem</span> in its parent items collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_InputGestureText" data-uid="C1.WPF.C1MenuItem.InputGestureText">
          <a class="xref" href="C1.WPF.C1MenuItem.InputGestureText.html#C1_WPF_C1MenuItem_InputGestureText">InputGestureText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text describing an input gesture that will call the command tied to the specified item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsCheckable" data-uid="C1.WPF.C1MenuItem.IsCheckable">
          <a class="xref" href="C1.WPF.C1MenuItem.IsCheckable.html#C1_WPF_C1MenuItem_IsCheckable">IsCheckable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether a <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> can be checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsChecked" data-uid="C1.WPF.C1MenuItem.IsChecked">
          <a class="xref" href="C1.WPF.C1MenuItem.IsChecked.html#C1_WPF_C1MenuItem_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsFirstLevel" data-uid="C1.WPF.C1MenuItem.IsFirstLevel">
          <a class="xref" href="C1.WPF.C1MenuItem.IsFirstLevel.html#C1_WPF_C1MenuItem_IsFirstLevel">IsFirstLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current item is a FirstLevel submenu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsHighlighted" data-uid="C1.WPF.C1MenuItem.IsHighlighted">
          <a class="xref" href="C1.WPF.C1MenuItem.IsHighlighted.html#C1_WPF_C1MenuItem_IsHighlighted">IsHighlighted</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether a <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> is highlighted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsSubmenuOpen" data-uid="C1.WPF.C1MenuItem.IsSubmenuOpen">
          <a class="xref" href="C1.WPF.C1MenuItem.IsSubmenuOpen.html#C1_WPF_C1MenuItem_IsSubmenuOpen">IsSubmenuOpen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the submenu of the C1MenuItem is open.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Menu" data-uid="C1.WPF.C1MenuItem.Menu">
          <a class="xref" href="C1.WPF.C1MenuItem.Menu.html#C1_WPF_C1MenuItem_Menu">Menu</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the parent <span class="xref">C1.Silverlight.C1Menu</span> of this item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OpenedBackground" data-uid="C1.WPF.C1MenuItem.OpenedBackground">
          <a class="xref" href="C1.WPF.C1MenuItem.OpenedBackground.html#C1_WPF_C1MenuItem_OpenedBackground">OpenedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> used in a menu item when this item is opened.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Parent" data-uid="C1.WPF.C1MenuItem.Parent">
          <a class="xref" href="C1.WPF.C1MenuItem.Parent.html#C1_WPF_C1MenuItem_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> that is the parent of this item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_ParentItem" data-uid="C1.WPF.C1MenuItem.ParentItem">
          <a class="xref" href="C1.WPF.C1MenuItem.ParentItem.html#C1_WPF_C1MenuItem_ParentItem">ParentItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> that is the parent of this item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubMenuMaxHeight" data-uid="C1.WPF.C1MenuItem.SubMenuMaxHeight">
          <a class="xref" href="C1.WPF.C1MenuItem.SubMenuMaxHeight.html#C1_WPF_C1MenuItem_SubMenuMaxHeight">SubMenuMaxHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates the MaxHeight of the SubMenu.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextAlignment" data-uid="C1.WPF.C1MenuItem.TextAlignment">
          <a class="xref" href="C1.WPF.C1MenuItem.TextAlignment.html#C1_WPF_C1MenuItem_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates the horizontal alignment of text content in the Header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextDecorations" data-uid="C1.WPF.C1MenuItem.TextDecorations">
          <a class="xref" href="C1.WPF.C1MenuItem.TextDecorations.html#C1_WPF_C1MenuItem_TextDecorations">TextDecorations</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a TextDecorationCollection that contains the effects to apply to the text of the Header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_TextWrapping" data-uid="C1.WPF.C1MenuItem.TextWrapping">
          <a class="xref" href="C1.WPF.C1MenuItem.TextWrapping.html#C1_WPF_C1MenuItem_TextWrapping">TextWrapping</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates how any text should be wrapped in the Header.</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_C1MenuItem_ChangeVisualStateHighlighted_System_Boolean_" data-uid="C1.WPF.C1MenuItem.ChangeVisualStateHighlighted(System.Boolean)">
          <a class="xref" href="C1.WPF.C1MenuItem.ChangeVisualStateHighlighted.html#C1_WPF_C1MenuItem_ChangeVisualStateHighlighted_System_Boolean_">ChangeVisualStateHighlighted(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Highlighted visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_ChangeVisualStateOpened_System_Boolean_" data-uid="C1.WPF.C1MenuItem.ChangeVisualStateOpened(System.Boolean)">
          <a class="xref" href="C1.WPF.C1MenuItem.ChangeVisualStateOpened.html#C1_WPF_C1MenuItem_ChangeVisualStateOpened_System_Boolean_">ChangeVisualStateOpened(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Opened visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_ClearContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.C1MenuItem.ClearContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.C1MenuItem.ClearContainerForItemOverride.html#C1_WPF_C1MenuItem_ClearContainerForItemOverride_System_Windows_DependencyObject_System_Object_">ClearContainerForItemOverride(DependencyObject, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_GetContainerForItemOverride" data-uid="C1.WPF.C1MenuItem.GetContainerForItemOverride">
          <a class="xref" href="C1.WPF.C1MenuItem.GetContainerForItemOverride.html#C1_WPF_C1MenuItem_GetContainerForItemOverride">GetContainerForItemOverride()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_IsItemItsOwnContainerOverride_System_Object_" data-uid="C1.WPF.C1MenuItem.IsItemItsOwnContainerOverride(System.Object)">
          <a class="xref" href="C1.WPF.C1MenuItem.IsItemItsOwnContainerOverride.html#C1_WPF_C1MenuItem_IsItemItsOwnContainerOverride_System_Object_">IsItemItsOwnContainerOverride(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnAccessKey_System_Windows_Input_AccessKeyEventArgs_" data-uid="C1.WPF.C1MenuItem.OnAccessKey(System.Windows.Input.AccessKeyEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnAccessKey.html#C1_WPF_C1MenuItem_OnAccessKey_System_Windows_Input_AccessKeyEventArgs_">OnAccessKey(AccessKeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnApplyTemplate" data-uid="C1.WPF.C1MenuItem.OnApplyTemplate">
          <a class="xref" href="C1.WPF.C1MenuItem.OnApplyTemplate.html#C1_WPF_C1MenuItem_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnChecked_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnChecked(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnChecked.html#C1_WPF_C1MenuItem_OnChecked_C1_WPF_SourcedEventArgs_">OnChecked(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to a check item action by raising a Checked event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnClick_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnClick(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnClick.html#C1_WPF_C1MenuItem_OnClick_C1_WPF_SourcedEventArgs_">OnClick(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to a click action by raising a Click event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnItemsChanged.html#C1_WPF_C1MenuItem_OnItemsChanged_System_Collections_Specialized_NotifyCollectionChangedEventArgs_">OnItemsChanged(NotifyCollectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnMouseClick_System_Object_System_Windows_Input_MouseEventArgs_" data-uid="C1.WPF.C1MenuItem.OnMouseClick(System.Object,System.Windows.Input.MouseEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnMouseClick.html#C1_WPF_C1MenuItem_OnMouseClick_System_Object_System_Windows_Input_MouseEventArgs_">OnMouseClick(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the user clicks the item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnMouseEnter_System_Object_System_Windows_Input_MouseEventArgs_" data-uid="C1.WPF.C1MenuItem.OnMouseEnter(System.Object,System.Windows.Input.MouseEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnMouseEnter.html#C1_WPF_C1MenuItem_OnMouseEnter_System_Object_System_Windows_Input_MouseEventArgs_">OnMouseEnter(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the mouse pointer enters the bounds of the header element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnMouseLeave_System_Object_System_Windows_Input_MouseEventArgs_" data-uid="C1.WPF.C1MenuItem.OnMouseLeave(System.Object,System.Windows.Input.MouseEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnMouseLeave.html#C1_WPF_C1MenuItem_OnMouseLeave_System_Object_System_Windows_Input_MouseEventArgs_">OnMouseLeave(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the mouse pointer leaves the bounds of the header element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnMouseRightButtonDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.C1MenuItem.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnMouseRightButtonDown.html#C1_WPF_C1MenuItem_OnMouseRightButtonDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseRightButtonDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called before the System.Windows.UIElement.MouseRightButtonDown event occurs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnSubmenuClosed_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnSubmenuClosed(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnSubmenuClosed.html#C1_WPF_C1MenuItem_OnSubmenuClosed_C1_WPF_SourcedEventArgs_">OnSubmenuClosed(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to a closed item action by raising a SubmenuClosed event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnSubmenuClosing_C1_WPF_CancelSourceEventArgs_" data-uid="C1.WPF.C1MenuItem.OnSubmenuClosing(C1.WPF.CancelSourceEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnSubmenuClosing.html#C1_WPF_C1MenuItem_OnSubmenuClosing_C1_WPF_CancelSourceEventArgs_">OnSubmenuClosing(CancelSourceEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to a close item action by raising a SubmenuClosing event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnSubmenuOpened_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnSubmenuOpened(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnSubmenuOpened.html#C1_WPF_C1MenuItem_OnSubmenuOpened_C1_WPF_SourcedEventArgs_">OnSubmenuOpened(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to an open item action by raising a SubmenuOpened event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnSubmenuOpening_C1_WPF_CancelSourceEventArgs_" data-uid="C1.WPF.C1MenuItem.OnSubmenuOpening(C1.WPF.CancelSourceEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnSubmenuOpening.html#C1_WPF_C1MenuItem_OnSubmenuOpening_C1_WPF_CancelSourceEventArgs_">OnSubmenuOpening(CancelSourceEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to an open item action by raising a SubmenuOpening event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_OnUnchecked_C1_WPF_SourcedEventArgs_" data-uid="C1.WPF.C1MenuItem.OnUnchecked(C1.WPF.SourcedEventArgs)">
          <a class="xref" href="C1.WPF.C1MenuItem.OnUnchecked.html#C1_WPF_C1MenuItem_OnUnchecked_C1_WPF_SourcedEventArgs_">OnUnchecked(SourcedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Responds to an uncheck item action by raising a Unchecked event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.C1MenuItem.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.C1MenuItem.PrepareContainerForItemOverride.html#C1_WPF_C1MenuItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_">PrepareContainerForItemOverride(DependencyObject, object)</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_WPF_C1MenuItem_Checked" data-uid="C1.WPF.C1MenuItem.Checked">
          <a class="xref" href="C1.WPF.C1MenuItem.Checked.html">Checked</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a C1MenuItem is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Click" data-uid="C1.WPF.C1MenuItem.Click">
          <a class="xref" href="C1.WPF.C1MenuItem.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the <a class="xref" href="C1.WPF.C1MenuItem.html">C1MenuItem</a> is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubmenuClosed" data-uid="C1.WPF.C1MenuItem.SubmenuClosed">
          <a class="xref" href="C1.WPF.C1MenuItem.SubmenuClosed.html">SubmenuClosed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the state of the IsSubmenuOpen property changes to false.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubmenuClosing" data-uid="C1.WPF.C1MenuItem.SubmenuClosing">
          <a class="xref" href="C1.WPF.C1MenuItem.SubmenuClosing.html">SubmenuClosing</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a submenu is closing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubmenuOpened" data-uid="C1.WPF.C1MenuItem.SubmenuOpened">
          <a class="xref" href="C1.WPF.C1MenuItem.SubmenuOpened.html">SubmenuOpened</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the state of the IsSubmenuOpen property changes to true.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_SubmenuOpening" data-uid="C1.WPF.C1MenuItem.SubmenuOpening">
          <a class="xref" href="C1.WPF.C1MenuItem.SubmenuOpening.html">SubmenuOpening</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a submenu is opening.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1MenuItem_Unchecked" data-uid="C1.WPF.C1MenuItem.Unchecked">
          <a class="xref" href="C1.WPF.C1MenuItem.Unchecked.html">Unchecked</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a C1MenuItem is unchecked.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.WPF.Extensions.FindParent.html#C1_WPF_Extensions_FindParent__1_System_Windows_FrameworkElement_">Extensions.FindParent&lt;T&gt;(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetAllParents.html#C1_WPF_Extensions_GetAllParents_System_Windows_FrameworkElement_">Extensions.GetAllParents(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetVisualStateGroup.html#C1_WPF_Extensions_GetVisualStateGroup_System_Windows_FrameworkElement_System_String_">Extensions.GetVisualStateGroup(FrameworkElement, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___System_Windows_Data_IValueConverter_">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;, IValueConverter)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.C1TransformToVisual.html#C1_WPF_Extensions_C1TransformToVisual_System_Windows_UIElement_System_Windows_UIElement_">Extensions.C1TransformToVisual(UIElement, UIElement)</a>
  </div>

</div>
