Pivot.locked property

Gets or sets a value that specifies whether the Pivot control is locked to the current item.

Syntax

<div data-win-control="WinJS.UI.Pivot" data-win-options="{ locked : value}" />
var locked = pivot.locked;
pivot.locked = locked;

Property value

Type: Boolean

A boolean that indicates whether the Pivot control is locked to the current item.

Remarks

Note   For Windows, this member is available starting with the WinJS 3.0 library. The WinJS 3.0 library is available via CDN, package manager, or website download but currently not through the Windows Store as a Windows Store framework package.

 

Requirements

Minimum WinJS version

Phone WinJS 2.1

Namespace

WinJS.UI

See also

Pivot