Divelements Community
Customer discussion of all Divelements products

Switch between TDI and MDI

Latest post 12-12-2007 11:08 by Tim Dawson. 1 replies.
  • 12-12-2007 9:16

    Switch between TDI and MDI

    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.

  • 12-12-2007 11:08 In reply to

    Re: Switch between TDI and MDI

    This is a bug and has been fixed in the forthcoming 1.2 version. Thanks for bringing it to our attention.
Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems