Can you show me how to styling a TabHeader of ContentPane in DocumentContentHost is same as when it docked in DockManager.Panes (not DocumentContentHost )
Hello Cao,
Thank you for contacting. There is no inbuilt property or method to let you do that for you.
You would have to re-template the PaneTabItem element based on your requirement.
Default template is avaiableb at this: C:\Program Files (x86)\Infragistics\2019.2\WPF\DefaultStyles\DockManager
If you are not using themes then DockManagerGeneric would be the file with PaneTabItem style, but if you are, then it would depend on the specific theme file at this path.
I open the DockManagerGeneric file and at line 1242 is where ‘DocumentTabItemTemplateKey‘ is available , you can create a ControlTemplate that uses ‘DocumentTabItemTemplateKey‘ key and overwrite the existing template.
Hello Divya,
Thank you for your tips and suggest.
I tried restyle of DocumentTabItemTemplateKey by style of DockableTabItemTemplate and it changed.
I will continue custom the style for my expected display.