Menu for WPF | ComponentOne
C1.WPF.Menu Namespace / C1MenuItem Class
Members

In This Topic
    C1MenuItem Class
    In This Topic
    Represents a selectable item inside a C1Menu control.
    Object Model
    C1MenuItem Class
    Syntax
    'Declaration
     
    
    <TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)>
    <TemplateVisualStateAttribute(Name="Opened", GroupName="OpenedStates")>
    <StyleTypedPropertyAttribute(Property="OpenIconStyle", StyleTargetType=System.Windows.Controls.ContentControl)>
    <DefaultEventAttribute("OnItemsChanged")>
    <DefaultPropertyAttribute("Items")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <ContentPropertyAttribute("Items")>
    <RuntimeNamePropertyAttribute("Name")>
    <UsableDuringInitializationAttribute(True)>
    <XmlLangPropertyAttribute("Language")>
    <UidPropertyAttribute("Uid")>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class C1MenuItem 
       Inherits C1.WPF.Core.C1HierarchicalPresenter
    [TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
    [TemplateVisualState(Name="Opened", GroupName="OpenedStates")]
    [StyleTypedProperty(Property="OpenIconStyle", StyleTargetType=System.Windows.Controls.ContentControl)]
    [DefaultEvent("OnItemsChanged")]
    [DefaultProperty("Items")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [ContentProperty("Items")]
    [RuntimeNameProperty("Name")]
    [UsableDuringInitialization(true)]
    [XmlLangProperty("Language")]
    [UidProperty("Uid")]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class C1MenuItem : C1.WPF.Core.C1HierarchicalPresenter 
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         System.Windows.Controls.ItemsControl
                            C1.WPF.Core.C1HierarchicalPresenter
                               C1.WPF.Menu.C1MenuItem

    See Also