Method CloseOtherWindows
CloseOtherWindows(WindowCloseAction?, Window?)
Closes all windows using the specified close action. If action
is not specified, windows are disposed.
public static void CloseOtherWindows(WindowCloseAction? action = WindowCloseAction.Dispose, Window? exceptWindow = null)
Parameters
action
WindowCloseAction?exceptWindow
Window