This project is read-only.

How to pop up a floating form?

Sep 16, 2009 at 12:31 PM

I'm working on a project to rewrite a WinForm program by WPF+AvalonDock.

I want the program to pop up a dockable and floating window when I click a menu item like implemented in Winform:

Form form = new Form();


The base WPF is below:

        <Menu Name="mainMenu" DockPanel.Dock="Top">
            <MenuItem Name="menuItemShow" Header="Show" Click="menuItemShow_Click"/>
        <ad:DockingManager Name="dockingManager">

How to impelment menuItemShow_Click to pop up the window?