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

In This Topic
    C1Menu Class
    In This Topic
    Object Model
    C1Menu Class
    Syntax
    'Declaration
     
    
    <StyleTypedPropertyAttribute(Property="ItemStyle", StyleTargetType=C1.WPF.Menu.C1MenuItem)>
    <TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
    <TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
    <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 C1Menu 
       Inherits C1MenuList
    [StyleTypedProperty(Property="ItemStyle", StyleTargetType=C1.WPF.Menu.C1MenuItem)]
    [TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
    [TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
    [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 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.C1HierarchicalPresenter
                               C1.WPF.Menu.C1MenuList
                                  C1.WPF.Menu.C1Menu

    See Also