Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
How to make Split Panes fill up the window
posted

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>