'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