Hi,
in Windows XP/2003 the XamDockManager tabs look like this (selected tab is clearly distinguished from the inactive tab):
In Win7 it looks like this:
1. How can I make the inactive tab look like the first screenshot when running on Win7? I prefer the way it is displayed in the first screenshot because it is much more obvious.
2. How can I make it so that the inactive tab is also "grayed out" when there are two separate tab areas? Even when on XP, both tabs have the active blue color when two document areas exist:
Thanks,
Florian
Hello Florian,
I have been further researching your issue and I have modified the sample application I have sent in my previous post. I have added the default template for the DocumentTabItemTemplateKey.
Then in the DataTrigger for the IsActiveDocument property I have changed the Foreground property for the ActiveDocument. In this template you can modify the appearance of the tab that is currently active.
Please find the modified sample application attached and feel free to let me know if you have any further questions on this matter.
> Are you placing the two ContentPanes inside two TabGroupPane?
Yes, it's a side-by-side view of two documents in two separate tab group panes.
I have been looking into your question. Regarding your second question it seems that I am missing something from your scenario. Are you placing the two ContentPanes inside two TabGroupPane? Would you please provide me with some further information about the functionality you are using in the second picture?
Thank you for the cooperation. Looking forward to hearing from you.
Thanks for the sample, but how would I solve the second problem?
Thank you for your post!
I have been looking into your issue and have created a small sample application for you. In the sample application I have a simple xamDockManager, containing two ContentPanes. In order the selected pane to be different from the others you can create a style for the PaneTabItem and set the background property.
This way the tabs, that are not selected would have a different background from the selected one.
Please find the attached sample application and feel free to let me know if you have any further questions on this matter.