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!
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.
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.
Please do not hesitate to let me know if you have any further questions on the matter.
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.
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 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.