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:
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
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.
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
Hi Valerie,
Thanks for the speedy response it is appreciated. About the styling, if I move the style to application level does that mean it will work without having to handle the ToolWindowLoaded event?
As for the error we are currently using 14.2 has there been a patch or service pack?
Hello Hagashen,
If you styles are applied locally (not in application resources), then it is expected that the style will be lost when the Pane is floated. In order to prevent this, you can handle the XamDockManager’s ToolWindowLoaded event and add the styles to the new window.
As far as the exception when re-docking the pane, this assert was removed in the latest service releases for 14.1 and 14.2. I would suggest upgrading to the latest version of one of these volumes.
Please let me know if you have any questions.
Sincerely,
Valerie
www.infragistics.com/support