Hello,
I am currently evaluating the SandDock for WPF and have found a strange behaviour when switch the layout of the
documentContainer instance.
To demonstrate it, I have made a minor modification in your sample
application. The Window1.xaml file is modifed in the "menu" section,
please find below:
<Menu DockPanel.Dock="Top">
<MenuItem Header="_File">
<MenuItem Header="E_xit" Click="OnExit" />
</MenuItem>
<MenuItem Header="MDI" Click="SwitchToMdi" />
<MenuItem Header="TDI" Click="SwitchToTdi" /></Menu>
Steps:
1. Run the modified application.
2. Close the "welcome" document. (The default layout is tabbed, and only this document is opened when the application starts).
3. Push the MDI menu item.
4. Push the TDI menu item.
Result:
A "container header" appears and could not be closed. Please, find the attached picture for further detail.
I would like to know if this is normal behaviour or is there a workaround.
Thanks.