![](dotnetdiagramimages/C1_WPF_4_5_2_C1_WPF_C1MenuItem.png)
'Declaration
<TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)> <TemplateVisualStateAttribute(Name="Opened", GroupName="OpenedStates")> <DefaultEventAttribute("OnItemsChanged")> <DefaultPropertyAttribute("Items")> <ContentPropertyAttribute("Items")> <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)> <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 C1MenuItem Inherits C1HierarchicalPresenter
'Usage
Dim instance As C1MenuItem
[TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)] [TemplateVisualState(Name="Opened", GroupName="OpenedStates")] [DefaultEvent("OnItemsChanged")] [DefaultProperty("Items")] [ContentProperty("Items")] [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)] [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 C1MenuItem : C1HierarchicalPresenter
[TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)] [TemplateVisualState(Name="Opened", GroupName="OpenedStates")] [DefaultEvent("OnItemsChanged")] [DefaultProperty("Items")] [ContentProperty("Items")] [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)] [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 ref class C1MenuItem : public C1HierarchicalPresenter
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.C1MenuItem