public enum DesktopSidePanelCloseReason Values
Closed
Closed = 0 The application closed it (DesktopSidePanel.CloseAsync), or its page did (window.close()).
WindowClosed
WindowClosed = 1 The window closed.
Crashed
Crashed = 2 The panel's page crashed twice, or the browser process ended.