Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1Menu Class
Members

In This Topic
    C1Menu Class
    In This Topic
    The C1Menu control enables you hierarchically organize elements associated with event handlers.
    Object Model
    C1Menu Class
    Syntax
    'Declaration
     
    
    <TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
    <StyleTypedPropertyAttribute(Property="NonFirstLevelStyle", StyleTargetType=C1.Silverlight.C1MenuItem)>
    <TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
    <ContentPropertyAttribute("Items", True)>
    Public Class C1Menu 
       Inherits C1HierarchicalPresenter
    [TemplateVisualState(Name="Focused", GroupName="FocusStates")]
    [StyleTypedProperty(Property="NonFirstLevelStyle", StyleTargetType=C1.Silverlight.C1MenuItem)]
    [TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
    [ContentProperty("Items", true)]
    public class C1Menu : C1HierarchicalPresenter 
    Inheritance Hierarchy

    System.Object
       System.Windows.DependencyObject
          System.Windows.UIElement
             System.Windows.FrameworkElement
                System.Windows.Controls.Control
                   System.Windows.Controls.ItemsControl
                      C1.Silverlight.C1HierarchicalPresenter
                         C1.Silverlight.C1Menu
                            C1.Silverlight.C1ContextMenu
                            C1.Silverlight.C1MenuList

    See Also