SearchPane.HideThisApplication SearchPane.HideThisApplication SearchPane.HideThisApplication SearchPane.HideThisApplication SearchPane.HideThisApplication Method

Definition

Hides the current app's UI.

public : static void HideThisApplication()
static void HideThisApplication() const;
public static void HideThisApplication()
Public Shared Sub HideThisApplication()
Windows.ApplicationModel.Search.SearchPane.hideThisApplication();

Remarks

Note

An app can't use both the search box (Windows.UI.Xaml.Controls.SearchBox for UWP app using C++, C#, or Visual Basic, WinJS.UI.SearchBox for Windows app using JavaScript) and the SearchPane. Using both the search box and the search pane in the same app causes the app to throw an exception with this message: "Cannot create instance of type 'Windows.UI.Xaml.Controls.SearchBox.'"