Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

DatePicker

 

 

Anzeigen:
© 2015 Microsoft