queryText property

AutoSuggestBox.queryText property

Applies to Windows only

Gets or sets the query text for the AutoSuggestBox.

Syntax


<div 
    data-win-control="WinJS.UI.AutoSuggestBox" 
    data-win-options="{ queryText : value}" >
</div>


var queryText = autoSuggestBox.queryText;
autoSuggestBox.queryText = queryText;

Property value

Type: String

The query text for the AutoSuggestBox. The maximum length is 2048 characters.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

AutoSuggestBox

 

 

Show:
© 2017 Microsoft