I could not get Blend or the usual tools to access this control template, but you can extract it yourself with the code, as shown below:
var controlTemplate = (ControlTemplate)FindResource(MenuItem.TopLevelHeaderTemplateKey); var sb = new StringBuilder(); var xml = XmlWriter.Create(sb, new XmlWriterSettings { Indent = true, NewLineOnAttributes = true }); XamlWriter.Save(controlTemplate, xml); var xaml = sb.ToString(); Debug.WriteLine(xaml);
The output is too long to be included here.
source share