The C1Menu control enables you hierarchically organize elements associated with event handlers.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
[StyleTypedPropertyAttribute(Property = "FirstLevelStyle", StyleTargetType = typeof(C1MenuItem))]
[StyleTypedPropertyAttribute(Property = "NonFirstLevelStyle", StyleTargetType = typeof(C1MenuItem))]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[StyleTypedPropertyAttribute(Property = "SeparatorStyle", StyleTargetType = typeof(C1Separator))]
public class C1Menu : C1HierarchicalPresenter
Visual Basic
<StyleTypedPropertyAttribute(Property := "FirstLevelStyle", StyleTargetType := GetType(C1MenuItem))> _
<StyleTypedPropertyAttribute(Property := "NonFirstLevelStyle", StyleTargetType := GetType(C1MenuItem))> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<StyleTypedPropertyAttribute(Property := "SeparatorStyle", StyleTargetType := GetType(C1Separator))> _
Public Class C1Menu _
	Inherits 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