I have designed my split panes as below. The split panes are not stretching in all the space available and instead coming out squished. I have to manually drag them to stretch in the window. I want them to show up stretched and take all the space the window when the application starts.
<igWpf:XamDockManahe ger x:Name="PickerDockManager" ActivePaneChanged=" OnActivePaneChanged"> <igWpf:XamDockManager.Panes> <igWpf:SplitPane x:Name="GridsSplitPane" SplitterOrientation="Vertical" HorizontalAlignment="Stretch" > <igWpf:TabGroupPane igWpf:SplitPane.RelativeSize="100,200" >
<igWpf:ContentPane Header="Results" AllowClose="False" Name ="TreeResultsPane" >
<igWpf:XamDataGrid ..../>
</igWpf:ContentPane>
</igWpf:TabGroupPane> <igWpf:TabGroupPane x:Name="ResultsPane" igWpf:SplitPane.RelativeSize="100,100" > <igWpf:ContentPane AllowClose="False" ></igWpf:ContentPane> </igWpf:TabGroupPane> </igWpf:SplitPane> </igWpf:XamDockManager.Panes> </igWpf:XamDockManager>
Hello Lalasa,
Thank you for your post.
I was researching your issue and I can suggest you set the LayoutMode property of the XamDockManager to FillContainer. When you set it to FillConteiner the panes occupy all the available space in the XamDockManager control.
You can read more details about LayoutMode property from our online documentation from this link: http://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=InfragisticsWPF4.DockManager.v14.1~Infragistics.Windows.DockManager.XamDockManager~LayoutMode.html
I created a sample application based on your scenario to show you how you can implement the functionality that you want to achieve.
Please let me know if you need any further assistance on this matter.
Hello,
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
The solution worked. Thank you,