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
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.
Thanks
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?
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?
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.
Were you able to resolve your issue?