MenuItem.SubmenuHeaderTemplateKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static property System::Windows::ResourceKey ^ SubmenuHeaderTemplateKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey SubmenuHeaderTemplateKey { get; }
static member SubmenuHeaderTemplateKey : System.Windows.ResourceKey
Public Shared ReadOnly Property SubmenuHeaderTemplateKey As ResourceKey
Property Value
The resource key for a style applied to a MenuItem when the MenuItem is a header of a submenu.
Remarks
Use this property to change the style of a MenuItem whose Role property is set to MenuItemRole.SubmenuHeader.
XAML Attribute Usage
<object property={ MenuItem.SubmenuHeaderTemplateKey}"
/>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.