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
160
Can you show me how to styling a TabHeader of ContentPane in DocumentContentHost is same as when it docked in DockManager.Panes (not DocumentContentHost )
posted

Can you show me how to styling a TabHeader of ContentPane in DocumentContentHost is same as when it docked in DockManager.Panes (not DocumentContentHost )

Parents
No Data
Reply
  • 7535
    Verified Answer
    Offline posted

    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.

Children