disabled property

DatePicker.disabled property

Applies to Windows only

Gets or sets whether the DatePicker is disabled.

Syntax


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


var disabled = datePicker.disabled;
datePicker.disabled = disabled;

Property value

Type: Boolean

true if the DatePicker is disabled; otherwise, false.

Remarks

When the DatePicker is disabled, the control is visible but dimmed and unavailable to the user.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

DatePicker

 

 

Show:
© 2017 Microsoft