संपादित करें

इसके माध्यम से साझा किया गया


MenuItem.SubmenuItemTemplateKey Property

Definition

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

public:
 static property System::Windows::ResourceKey ^ SubmenuItemTemplateKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey SubmenuItemTemplateKey { get; }
static member SubmenuItemTemplateKey : System.Windows.ResourceKey
Public Shared ReadOnly Property SubmenuItemTemplateKey As ResourceKey

Property Value

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

Remarks

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

XAML Attribute Usage

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

Applies to