Closing the parent window closes all mdi children but not the parent itself.

Aug 9, 2011 at 7:06 PM


I have created a WPF window with <mdi:MdiContainer...> in it.
When closing the window, all child windows are closed (expected).
However, the parent window itself just disappears, but is not closed.
The application still appears in the task manager list.

How do I get rid of it?