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

In This Topic
    C1Menu Class
    In This Topic
    Menu control supporting nested items hierarchies.
    Object Model
    C1Menu Class
    Syntax
    'Declaration
     
    
    <C1ControlAttribute()>
    <StyleTypedPropertyAttribute(Property="ItemStyle", StyleTargetType=C1.WPF.Menu.C1MenuItem)>
    <C1TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
    <TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
    <TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
    <DefaultEventAttribute("OnItemsChanged")>
    <DefaultPropertyAttribute("Items")>
    <ContentPropertyAttribute("Items")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class C1Menu 
       Inherits C1MenuList
    [C1Control()]
    [StyleTypedProperty(Property="ItemStyle", StyleTargetType=C1.WPF.Menu.C1MenuItem)]
    [C1TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
    [TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
    [TemplateVisualState(Name="Normal", GroupName="CommonStates")]
    [DefaultEvent("OnItemsChanged")]
    [DefaultProperty("Items")]
    [ContentProperty("Items")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class C1Menu : C1MenuList 
    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.C1ItemsControl
                               C1.WPF.Core.C1HierarchicalPresenter
                                  C1.WPF.Menu.C1MenuList
                                     C1.WPF.Menu.C1Menu

    See Also