hi there,
i just updated my application from 9.1 to 9.2 and now my unpinned contentpanes do not show up in the unpinned area anymore. if i set them to pinned=true they are visible and docking, hiding and everything works.
are there any known issues concerning this? what are the changes made in xamdockmanager from 9.1 to 9.2?
thanks. k.
There weren't any new features but its possible that an issue was introduced with a bug fix. If you can post a sample that shows the problem we can try to get this resolved in the first hotfix.
here is the sample. ContentPane Pane4 is not visible as an unpinned item. With Version 9.1 this sample works. Is there any workaround?
Thanks, r.
<Window x:Class="InfraTest1.Window1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Title="Window1" Height="600" Width="600"xmlns:igDock="http://infragistics.com/DockManager"><TabControl><TabItem Header="Tab1"><igDock:XamDockManager><igDock:XamDockManager.Panes><igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft"><igDock:ContentPane Header="Pane1" IsPinned="True" ><Button Content="Click 1"/></igDock:ContentPane><igDock:ContentPane Header="Pane2" IsPinned="False" ><Button Content="Click 2"/></igDock:ContentPane></igDock:SplitPane></igDock:XamDockManager.Panes></igDock:XamDockManager></TabItem><TabItem Header="Tab2"><TabControl><TabItem Header="Subtab1"><igDock:XamDockManager><igDock:XamDockManager.Panes><igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft"><igDock:ContentPane Header="Pane3" IsPinned="True" ><Button Content="Click 1"/></igDock:ContentPane><igDock:ContentPane Header="Pane4" IsPinned="False" ><Button Content="Click 2"/></igDock:ContentPane></igDock:SplitPane></igDock:XamDockManager.Panes></igDock:XamDockManager></TabItem><TabItem Header="Subtab2"></TabItem></TabControl></TabItem></TabControl></Window>
Thanks for the sample. I was able to reproduce the problem so I'll see about getting a case created for you for this. The only workaround I can think of right now is to force the template for the XDM on the other tabs to be applied. So set the x:Name of the XDM in Subtab1 to something (e.g. dmInTab2). Then in the constructor for the window after the call to InitializeComponent, you would do something like: this.dmInTab2.ApplyTemplate();
I'm also experiencing this issue, but the workaround you suggested isn't working for me.
My SplitPane is called 'rightEdgeDock' and I'm calling "this.rightEdgeDock.ApplyTemplate;" in the UserControl constructor after InitializeComponent() but no joy.
I've also tried putting it in an eventhandler for the Loaded events for the SplitPanel and the XamDockManager to no avail.
Would if be possible to get a sample demonstrating the workaround please?
The sample would be no different than the xaml snippet provided by the original poster except a call to ApplyTemplate after the constructor of the window. It's quite possible that the same workaround might not work if the xamDockmaanger is within a UserControl. Note this specific issue has been addressed and will be in the next hotfix which I believe will be available next week some time. I'll see about getting you added to the notification list for this issue.