SearchPane.Visible SearchPane.Visible SearchPane.Visible SearchPane.Visible SearchPane.Visible Property

Definition

Indicates whether the search pane is open.

public : Platform::Boolean Visible { get; }
bool Visible();
public bool Visible { get; }
Public ReadOnly Property Visible As bool
var bool = searchPane.visible;

Property Value

bool bool bool

True if the search pane is being displayed; otherwise false.

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

See also