This project is read-only.

Another XAML Window in DockableContent

Feb 11, 2011 at 2:13 PM

Hello,

I would like to split my GUI into different XAML files.
But I got the following problem: 

                    <my:DockablePane my:ResizingPanel.ResizeWidth="300" Name="Menu">
                            <my1:window2  x:Name="frmWindow1"/>  <!-- WORKS! The window is displayed and the controls are clickable -->
                        <my:DockableContent Title="Home" Name="something">
                          <my1:window2 x:Name="frmWindow2"/>  <!-- DOESN'T WORK! The window is displayed and the controls are NOT clickable -->
                        </my:DockableContent>
                        <my:DockableContent Title="Menu1" Name="something2">
                          <my1:window3 x:Name="frmWindow3"/>  <!-- DOESN'T WORK! The window is displayed and the controls are NOT clickable -->
                        </my:DockableContent>
                    </my:DockablePane >

Thanks for your help.

Feb 27, 2011 at 2:16 PM

Found a solution.....
Just insert a <Grid>. 

                  <my:DockableContent Title="Home" Name="something">
			<Grid>
                          <my1:window2 x:Name="frmWindow2"/>
			</Grid>
                  </my:DockableContent>