Caliburn.Micro provides the type WindowManager
using a method Show
that can display the view model in a new window, and if this view model implements the appropriate Caliburn.Micro interfaces, WindowManager
ensure the view passes through the normal life cycle (i.e., it calls OnActivate
, OnDeactivate
etc. .). If your view models are derived from a type Screen
, then this will be so.
WindowManager
IWindowManager
, ShellViewModel.
Window
, a UserControl
, WindowManager
UserControl
Window
, .