ComponentOne Basic Library for WPF and Silverlight
C1MenuItem Class
Members 


C1.Silverlight Namespace : C1MenuItem Class
Represents a selectable item inside a C1Menu control.
Object Model
C1MenuItem Class
Syntax
'Declaration
 
<System.Windows.TemplateVisualStateAttribute(Name="Highlighted", GroupName="HighlightedStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Opened", GroupName="OpenedStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Closed", GroupName="OpenedStates")>
<System.Windows.TemplatePartAttribute(Name="SubItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)>
<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)>
<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)>
Public Class C1MenuItem 
   Inherits C1HierarchicalPresenter
'Usage
 
Dim instance As C1MenuItem
[System.Windows.TemplateVisualState(Name="Highlighted", GroupName="HighlightedStates")]
[System.Windows.TemplateVisualState(Name="Opened", GroupName="OpenedStates")]
[System.Windows.TemplateVisualState(Name="Closed", GroupName="OpenedStates")]
[System.Windows.TemplatePart(Name="SubItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[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)]
[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)]
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

Reference

C1MenuItem Members
C1.Silverlight Namespace