Redigeeri

Jagamisviis:


MenuItem.SubmenuHeaderTemplateKey Property

Definition

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

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