ComponentOne FinancialChart for WPF
C1MenuItem Class
Members 



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

See Also

Reference

C1MenuItem Members
C1.WPF Namespace