Rating.disabled property

Applies to Windows only

Gets or sets whether the control is disabled. When the control is disabled, the user can't specify a new user rating or modify an existing rating.

Syntax


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


var disabled = rating.disabled;
rating.disabled = disabled;

Property value

Type: Boolean

true if the user is not allowed to change the user rating; otherwise, false. The default value is false.

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

Base.js

See also

Rating

 

 

Show:
© 2014 Microsoft