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
340
Color the header of a content pane in a TabGroupPane
posted

Is it possible to change the color of the background/foreground of the tab of a content pane in a TabGroupPane?

I saw couple of posts back the option to add a header template but it change the stripe, i want to change the actual tab color (like in excel "tab color")

Thanks

Parents
  • 54937
    Offline posted

    The tab that represents the ContentPane in the TabGroupPane is a PaneTabItem so you would have to provide a custom Style for the PaneTabItem. E.g. you would put a Style that targets the PaneTabItem with the appropriate setters to accomplish what you want (changing Background, Template, etc.) into the Resources of the xamDockManager.

Reply Children