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,
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.
Thanks for the sample, but how would I solve the second problem?
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.
> 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 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.
thanks, but I had something like this in mind. I fear that might not be possible at all, but it would be really nice to have two-colored tab groups. The active tab group (the tab group with an active document inside) has the usual blue color and the inactive tab group gets "grayed out" like this:
Is that possible to achieve?
I have been looking into your issue. What I can suggest is to add the template for the TabGroupPane.DocumentTabGroupTemplateKey from the default styles of the XamDockManager. The default styles you can find installed on your computer, together with our controls. The path to the styles is the following: C:\Program Files (x86)\Infragistics\2014.1\WPF\DefaultStyles\DockManager.
In the above mentioned template you can change the BorderBrush and Background properties of the InnerBorder, ThickInnerBorder and InnerMostBorder, in order to change the appearance of the TabGroupPane.
Please do not hesitate to let me know if you have any further questions on this matter.
Thank you for the feedback. Please do not hesitate to let me know if you have any further questions on this matter.
No further questions for now, thanks. A bit too complicated for my personal taste though, so I'll pass on to this opportunity for now.
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.