Represents a selectable item inside a C1Menu control.
Object Model
Syntax
'Declaration
<System.Windows.TemplateVisualStateAttribute(Name="Highlighted", GroupName="HighlightedStates")>
<System.Windows.TemplatePartAttribute(Name="SubItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="OpenedStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Opened", GroupName="OpenedStates")>
<System.Windows.TemplateVisualStateAttribute(Name="NonHighlighted", GroupName="HighlightedStates")>
<System.Windows.TemplatePartAttribute(Name="HExpandIcon", Type=System.Windows.Shapes.Shape)>
<System.Windows.TemplatePartAttribute(Name="VExpandIcon", Type=System.Windows.Shapes.Shape)>
<System.Windows.TemplatePartAttribute(Name="HeaderPanel", Type=System.Windows.Controls.Grid)>
<System.Windows.TemplatePartAttribute(Name="ExpandIcon", Type=System.Windows.Shapes.Shape)>
<System.Windows.TemplatePartAttribute(Name="MenuIcon", Type=System.Windows.Controls.ContentControl)>
<System.Windows.TemplatePartAttribute(Name="CheckIcon", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplatePartAttribute(Name="SubItemsPopup", Type=System.Windows.Controls.Primitives.Popup)>
Public Class C1MenuItem
Inherits C1HierarchicalPresenter
'Usage
Dim instance As C1MenuItem
[System.Windows.TemplateVisualState(Name="Highlighted", GroupName="HighlightedStates")]
[System.Windows.TemplatePart(Name="SubItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="OpenedStates")]
[System.Windows.TemplateVisualState(Name="Opened", GroupName="OpenedStates")]
[System.Windows.TemplateVisualState(Name="NonHighlighted", GroupName="HighlightedStates")]
[System.Windows.TemplatePart(Name="HExpandIcon", Type=System.Windows.Shapes.Shape)]
[System.Windows.TemplatePart(Name="VExpandIcon", Type=System.Windows.Shapes.Shape)]
[System.Windows.TemplatePart(Name="HeaderPanel", Type=System.Windows.Controls.Grid)]
[System.Windows.TemplatePart(Name="ExpandIcon", Type=System.Windows.Shapes.Shape)]
[System.Windows.TemplatePart(Name="MenuIcon", Type=System.Windows.Controls.ContentControl)]
[System.Windows.TemplatePart(Name="CheckIcon", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplatePart(Name="SubItemsPopup", Type=System.Windows.Controls.Primitives.Popup)]
public class C1MenuItem : 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.C1MenuItem
See Also