I have a XamDockManager with two document tabs, driven by Prism regions, like so:
<igDock:DocumentContentHost> <igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedLeft" HorizontalAlignment="Stretch"> <igDock:TabGroupPane x:Name="SelectorPane" prism:RegionManager.RegionName="{x:Static inf:RegionNames.SelectionRegion}"> </igDock:TabGroupPane> <igDock:TabGroupPane> <igDock:ContentPane x:Name="GridPane" AllowClose="False" CloseButtonVisibility="Collapsed" Header="..."> <ContentControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}"/> </igDock:ContentPane> </igDock:TabGroupPane> </igDock:SplitPane> </igDock:DocumentContentHost>
I have my adapter working, everything is functional.
However.
As defined above, both panes are the same size, with a splitter in the center. I don't want that, so I add Width="400" to the first (left-hand) TabGroupPane... and all of a sudden, I have no more splitter. The connection between the panes is completely lost.
Width="400"
TabGroupPane
How can I specify the width of the left pane without losing the splitter?
Hello Sjoerd,
Thank you for your post. I have been looking into it and I can suggest you see this link from our documentation:
http://help.infragistics.com/Help/NetAdvantage/WPF/2013.1/CLR4.0/html/InfragisticsWPF4.DockManager.v13.1~Infragistics.Windows.DockManager.SplitPane~SetRelativeSize.html
where it is explained how to set the RelativeSize of a child of a SplitPane that is used to determine the percentage of space that the child will be provided within the SplitPane. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Perfect! Thank you.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.