https://learn.microsoft.com/en-us/uwp/api/windows.ui.webui.webuisearchactivatedeventargs.previousexecutionstate?view=winrt-28000
WebUISearchActivatedEventArgs.PreviousExecutionState Property (Windows.UI.WebUI) - Windows apps |...
Gets the execution state of the app before it was activated.
propertywindowsuiapps