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"/>
How to impelment menuItemShow_Click to pop up the window?