Share via


DatePicker.disabled property

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