SearchPane.Show SearchPane.Show SearchPane.Show SearchPane.Show SearchPane.Show Method

Definition

Overloads

Show() Show() Show() Show() Show()

Shows the search pane.

Show(String) Show(String) Show(String) Show(String) Show(String)

Shows the search pane with the specified initial query string.

Show() Show() Show() Show() Show()

Shows the search pane.

public : void Show()
void Show() const;
public void Show()
Public Sub Show()
searchPane.show();

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.'"

If the search pane is already being shown, this function gives focus to the search pane.

See also

Show(String) Show(String) Show(String) Show(String) Show(String)

Shows the search pane with the specified initial query string.

public : void Show(Platform::String query)
void Show(winrt::hstring query) const;
public void Show(String query)
Public Sub Show(query As String)
searchPane.show(query);

Parameters

query
String String String

The initial query string.

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.'"

If the search pane is already being shown, this function gives focus to the search pane.

See also