The C1Menu control enables you hierarchically organize elements associated with event handlers.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
C# |
---|
[StyleTypedPropertyAttribute(Property = "NonFirstLevelStyle", StyleTargetType = typeof(C1MenuItem))] [EditorBrowsableAttribute(EditorBrowsableState.Never)] [TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")] [TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")] [StyleTypedPropertyAttribute(Property = "SeparatorStyle", StyleTargetType = typeof(C1Separator))] [StyleTypedPropertyAttribute(Property = "FirstLevelStyle", StyleTargetType = typeof(C1MenuItem))] public class C1Menu : C1HierarchicalPresenter |
Visual Basic |
---|
<StyleTypedPropertyAttribute(Property := "NonFirstLevelStyle", StyleTargetType := GetType(C1MenuItem))> _ <EditorBrowsableAttribute(EditorBrowsableState.Never)> _ <TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _ <TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _ <StyleTypedPropertyAttribute(Property := "SeparatorStyle", StyleTargetType := GetType(C1Separator))> _ <StyleTypedPropertyAttribute(Property := "FirstLevelStyle", StyleTargetType := GetType(C1MenuItem))> _ Public Class C1Menu _ Inherits 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..::..C1HierarchicalPresenter
C1.WPF..::..C1Menu
C1.WPF..::..C1MenuList
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..::..C1HierarchicalPresenter
C1.WPF..::..C1Menu
C1.WPF..::..C1MenuList