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
Remove Transparency of ContentPane Header Background

I have following heirarchy of XamdockManager.

<XamDockManager Background="Transparent">














I have 3 contentpane under a tabgroupane. The background of non-selected Header of contentpane is Transparent. I want to remove this transparency. The background of active Header of contentpane is working fine. The background of header of contentpane on mouseover is working fine.

I have searched out the whole Style for this and applied various workaround, but none is successful. The transparent background of XamDockManager should not be removed.

I hope the situation is clear.

Do help.

No Data
  • 54937
    Verified Answer
    Offline posted

    In none of our themes is the background of the PaneHeaderPresenter Transparent by default nor do they react to the mouse being over them. Since you mention a TabGroupPane perhaps you mean the tab item? If so then you can look at the DefaultStyles and locate the Style for the PaneTabItem to see where the Background is coming from. In the case of dockable tabs (i.e. not unpinned and not in the documentcontenthost), the background depends on the TabStripPlacement (which in this case defaults to the bottom). In that case the default background comes from a dynamic resource to a key of "{x:Static igDock:DockManagerBrushKeys.TabbedListNotActiveBottomCenterFillKey}". So you could put a Brush with a key of this value into the app's resources and that should affect the background of these tab items docked and floating. Note if you are setting the Theme property then you'll have to put this brush into the XamDockManager's Resources (to affect the docked tabs) and also need to hook the ToolWindowLoaded and put this into the e.Window's Resources if you want to affect the floating tab items.

No Data