Hi,
I have a style defined for TabGroupPane in a xamDockManager this includes making the Tab placement be top. However as soon as i drag a Tab out of the group and then create a tab group pane with another tab the style is no longer applied i.e. tabs go to the bottom. Then when I re-dock in the main window i get an error. See images below:
Incorrect behaviour
Error
Hello,
Yes if you include the style at the application level you should not have to use the ToolWindowLoaded event, assuming this is an implicit style. As for the service patch the latest version of Infragistics for 2014 Volume 2 is build number 20142.2081. if you have an earlier version, please upgrade to this version.
If you are still having issues after this, please include a copy of the style or if possible a small sample illustrating the issue so that I can be of further assistance.
Let me know if you have any questions.
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
I have included the style at the application level, however the behaviour has not changed.
I have attached the style. If possible could you provide a sample of applying the style in the ToolWindowLoaded as I tried that as well and it did not work.
Thanks
Managed to get the styles to work, so no need to look into that anymore sorry. Could you please provide me a sample on styling the unpinned header? At present it is taking the header of the tab which is not great.
Hello Hagashen,
The Unpinned header is actually a PaneTabItem control where the Data Context is the Pane itself. You can find the default styles for the PaneTabItem in C:\Program Files (x86)\Infragistics\2014.2\WPF\DefaultStyles\Windows\PrimitivesGeneric.xaml. Look for the Style targeting PaneTabItem with the key igDock:PaneTabItem.UnpinnedTabItemTemplateKey. You can include this style in your application and modify it as needed to get your desired result.
Please let me know if you have any questions.
Sincerely,
Valerie
Do you have any other questions on this issue?
Were you able to resolve your issue?
Typically when you drag all but one pane out of a floating window the tabs will no longer be present. I have attached a simple sample which illustrates this. I am unsure why you are still seeing a tab, perhaps this is due to your styles. Please let me know if you can reproduce this behavior in my sample or alternatively revise the sample to illustrate the issue and provide me with the steps to reproduce so that I can be of further assistance.
One last question:
If I drag a window out I get a tool window with no tabbing in it great, when I drag a second pane into the first one i get tabs also great. Now the problem i face is if i drag one of those tabbed panes out the remaining one stays as a tab, how can i prevent this?