In This Topic
Represents a selectable item inside a C1Menu control.
Object Model
Syntax
'Declaration
<C1ControlAttribute(True)>
<C1TemplatePartAttribute(Name="MenuList", Type=C1.WPF.Menu.C1MenuList)>
<C1VisualStateAttribute(Name="Opened",
GroupName="Opened",
Condition="IsSubmenuOpenVisual")>
<StyleTypedPropertyAttribute(Property="OpenIconStyle", StyleTargetType=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="MenuList", Type=C1.WPF.Menu.C1MenuList)>
<TemplateVisualStateAttribute(Name="Opened", GroupName="OpenedStates")>
<DefaultEventAttribute("OnItemsChanged")>
<DefaultPropertyAttribute("Items")>
<ContentPropertyAttribute("Items")>
<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 C1.WPF.Core.C1HierarchicalPresenter
[C1Control(true)]
[C1TemplatePart(Name="MenuList", Type=C1.WPF.Menu.C1MenuList)]
[C1VisualState(Name="Opened",
GroupName="Opened",
Condition="IsSubmenuOpenVisual")]
[StyleTypedProperty(Property="OpenIconStyle", StyleTargetType=System.Windows.Controls.ContentControl)]
[TemplatePart(Name="MenuList", Type=C1.WPF.Menu.C1MenuList)]
[TemplateVisualState(Name="Opened", GroupName="OpenedStates")]
[DefaultEvent("OnItemsChanged")]
[DefaultProperty("Items")]
[ContentProperty("Items")]
[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 : C1.WPF.Core.C1HierarchicalPresenter
Inheritance Hierarchy
See Also