Share via


SearchBox.SearchHistoryEnabled Property

Definition

Gets or sets a value that determines whether search suggestions are made from the search history.

public:
 property bool SearchHistoryEnabled { bool get(); void set(bool value); };
bool SearchHistoryEnabled();

void SearchHistoryEnabled(bool value);
public bool SearchHistoryEnabled { get; set; }
var boolean = searchBox.searchHistoryEnabled;
searchBox.searchHistoryEnabled = boolean;
Public Property SearchHistoryEnabled As Boolean
<SearchBox SearchHistoryEnabled="bool"/>

Property Value

Boolean

bool

true if search suggestions are made from the search history; otherwise, false. The default is true.

Applies to