Skip to content

IWindowService.Show<T> method

Shows the view model in a non-modal window and returns immediately, without waiting for the window to close.

public void Show<T>(T viewModel, string caption = null)
    where T : IWindowAwareViewModel
parameter description
T The type of the view model that drives the window.
viewModel The view model to display. It is attached to the window until the window closes.
caption The window caption. When null, the caption is taken from Title.

See Also