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
Andrew,
I am having an issue setting the style on the PaneTabItem when the TabGroupPane is a regionadapter using NCAL. Do i need to have the style tag in the xaml file that hosts the Region in it or does the style tag need to be in the xaml of the usercontrol i am placing in the region?
I'm not sure what you adding to. If you mean that you want to be notified when the templates are changed such that they bind to the Background property of the PaneTabItem, you may contact the support group here and reference this thread. Alternatively you can create your own custom template for the PaneTabItem. You can use the default xaml that we ship with the product (included in the DefaultStyles directory) as the starting point for your custom templates.
+1
GuyV said:but trying to attache the specific res background to a specific content pane in the tabgorup gives the error "'PaneTabItem' TargetType does not match type of element 'ContentPane'"
Unfortunately the Background doesn't seem to be taking effect for the default templates we provide. In looking at the default styles it does not appear that any of the elements within the PaneTabItem template are binding to the background property. I'll get an issue submitted for this part and get a case for it associated with your account.
so - is it possible to color the document host tabs background/foreground in different colors?