Since we updated to the latest version of infragistics the Style of the Header of the ContentPanes that are not active (the ones not selected) it is very similar to the Visual Studio 2012 Style for not selected Tabs. However our users find this confusing.
We use the theme: ThemeManager.ThemeNameIGTheme;
We want to have the deactivated tabs with the same style that in previous versions. How can we achieve this?
Thank you!
Hello Dzyann,
Thank you for your post. I have been looking into it and have created a small sample for you. To set the border for the Header of a ContentPane I can suggest to create a style for the PaneHeaderPresenter and set the BorderBrush property. Please find the sample application attached and feel free to let me know if you have any further question on the matter.
Hi Gergana, thanks for your answer!
That is not quite what I need.
I have my ContentPane inside a TabGroupPane, maybe that makes the difference?
My tabs show docked right in the middle using all the space of the application (but the ribbon)
The tabs that are not selected show without border, just a text. I want them to show like in previous versions.
In fact i am already applying a style to the Tab Header, as indicated in this thread: http://ko.infragistics.com/community/forums/t/78121.aspx
My problem is that I dont know how to change the border of the tab so it looks like in the past.
I could not insert a picture here, because sadly those sites are blocked here at work. So I uploaded a picture to my profile picture that shows my problem. It is a bit small but I think you will be understand better what i mean.
You can see I have a tab "Test" and other tab called "Another Test", the tab "Test" is selected so it has a border, but the "Another Test" tab, that is not selected, doesn't have a border it is showing only the text. As you can see in the pictures the Style I introduced from this thread: http://ko.infragistics.com/community/forums/t/78121.aspx it is working fine becasuse you can see the close button right next to the text.
I want all the tabs show similar to the tab "Test", but I don't where the tabs are getting their styles from right now.
Thanks for your help in advance!
I have been looking into the forum thread you have provided. Using the code snipped there I have modified the last sample application I have attached. I could not reproduce the issue on your profile picture using the latest service release for 13.1. Please note that when the tab pane is not active a style for the PaneTabItem element is applied. I have modified the sample to show you this functionality. If you are applying style for the PaneTabItem this might cause the issue.
Please refer to the attached sample application and feel free to let me know if you have any further questions on the matter.
Hi Gergana, thanks again for your help!
In the sample App you gave me setting the Theme is never working. It doesn't matter what Theme I set everything always looks the same. I even deleted you added just in case. And It doenst work. Does that happen to you too?
We had some Styles being set in the PaneTabItem to fix some Issues our users reported, like that the selected tab is a bit taller than the not selected tabs.
I deleted all the Styles that were applying to the PaneTabItem, and I get the same issue than before. The "Another Test" doesn't have a border.
As always any help you can offer me will be greatly appreciated.
I have been looking into your post. Would it be possible to modify the last sample application with the functionality you are using or send me an isolated simple sample, that reproduces the issue. This way I would be able to reproduce the issue and provide you with a possible solution.
Looking forward to hearing from you.
I have been looking into your issue. The IG theme could be added to your project and you can modify the PaneTabItem from there. You can find the theme under the following path on your computer: C:\Program Files\Infragistics\NetAdvantage 2013.1\WPF\Themes\IG. Them add it as a ResourceDictionary for the controls to use.
Please do not hesitate to let me know if you have any further questions on the matter.
Thanks, we were not able to use the style for the PaneTabItem to change the borders.
I think partially is because how our project is structured, but I think it is due to the way the headers of the tabs are built, are rather complex.
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the matter.
I have been able to reproduce the issue. The IG theme is designed to look that way. You can check this from the samples browser installed on your computer together with our components. Setting a style for the PaneTabItemyou can see that the border is there and its background color if set to transparent. If you want to set a border you have to create a style for the PaneTabItem. You can see the default style for an active tab from the default styles, also installed on your computer with our components. Here is a path to the styles: C:\Program Files\Infragistics\NetAdvantage 2013.1\WPF\DefaultStyles\DockManager.
Hi Gergana!
The problem I have is that I don't have a place where i could easily upload things.In the sample application you sent me I could see that the Themes were not being used at all. When you change the Theme, for example to the Metro one? Does it get applied?
Because I tried changing the themes in the sample app you uploaded and i couldn't make it work.
Thanks again for your quick response.