MenuItem.SubmenuItemTemplateKey Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the resource key for a style applied to a MenuItem when the MenuItem is a submenu.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static ResourceKey SubmenuItemTemplateKey { get; }

Property Value

Type: System.Windows.ResourceKey

The resource key for a style applied to a MenuItem when the MenuItem is a submenu.

Use this property to change the style of a MenuItem whose Role property is set to MenuItemRole.SubmenuItem.

<object property={ MenuItem.SubmenuItemTemplateKey}"/>

.NET Framework
Available since 3.0
Return to top
Show: