Export (0) Print
Expand All

MenuBase Class

Base class for all Menu controls.

Namespace: System.Windows.Controls.Primitives
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=typeof(MenuItem))] 
[LocalizabilityAttribute(LocalizationCategory.Menu)] 
public abstract class MenuBase : ItemsControl
/** @attribute StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.MenuItem) */ 
/** @attribute LocalizabilityAttribute(LocalizationCategory.Menu) */ 
public abstract class MenuBase extends ItemsControl
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.Controls.MenuItem) 
LocalizabilityAttribute(LocalizationCategory.Menu) 
public abstract class MenuBase extends ItemsControl
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.

Menu controls define choices for users to select.

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.Primitives.MenuBase
                   System.Windows.Controls.ContextMenu
                   System.Windows.Controls.Menu

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft