다음을 통해 공유


AutoSuggestBox.disabled property

Gets or sets a value that specifies whether the AutoSuggestBox is disabled. If the control is disabled, it won't receive focus.

Syntax

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

Property value

Type: Boolean

true if the control is disabled; otherwise, false.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

AutoSuggestBox