Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1150
Replace DocumentTabItem control template for themes using generic only
posted

Hello,

the DocumentTabItem with DocumentContentHost of XamDockManager uses the default generic template for most themes.
I want to modify this generic template, but keep all templates from themes with other template definitions for this control.

When I define an own template for igDock:PaneTabItem.DocumentTabItemTemplateKey this is used until I define a Theme="xyz" on the control.

What I want:
 - use my modified template when current Theme is "", "generic", "IGTheme", "Office2010" or any other theme using the generic template.
 - use the template from the Theme for Themes defining an own template like "Office2013" or "Metro"

I do not want to create a custom theme. Just override the template for this control on all themes using the generic template.

How can I get this?
Many thanks and best regards!