Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.AvalonDock Assembly / Xceed.Wpf.AvalonDock.Controls Namespace / MenuItemEx Class
Members


In This Topic
    MenuItemEx Class
    In This Topic

    Represents a menu item.

    Syntax
    'Declaration
     
    <DefaultEventAttribute("Click")>
    <LocalizabilityAttribute(LocalizationCategory.Menu)>
    <TemplatePartAttribute(Name="PART_Popup", Type=System.Windows.Controls.Primitives.Popup)>
    <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.MenuItem)>
    <DefaultPropertyAttribute("Header")>
    <ContentPropertyAttribute("Items")>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class MenuItemEx 
       Inherits System.Windows.Controls.MenuItem
    'Usage
     
    Dim instance As MenuItemEx
    [DefaultEvent("Click")]
    [Localizability(LocalizationCategory.Menu)]
    [TemplatePart(Name="PART_Popup", Type=System.Windows.Controls.Primitives.Popup)]
    [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.MenuItem)]
    [DefaultProperty("Header")]
    [ContentProperty("Items")]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class MenuItemEx : System.Windows.Controls.MenuItem 
    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
                            System.Windows.Controls.HeaderedItemsControl
                               System.Windows.Controls.MenuItem
                                  Xceed.Wpf.AvalonDock.Controls.MenuItemEx

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also