AutoSuggestBox.searchHistoryDisabled property

Gets or sets a value that specifies whether search history is disabled.

Syntax

<div 
    data-win-control="WinJS.UI.AutoSuggestBox" 
    data-win-options="{ searchHistoryDisabled : value}" >
</div>
var searchHistoryDisabled = autoSuggestBox.searchHistoryDisabled;
autoSuggestBox.searchHistoryDisabled = searchHistoryDisabled;

Property value

Type: Boolean

true if search history is disabled; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

AutoSuggestBox