EN
本內容沒有您的語言版本,但有英文版本。

SemanticZoom.locked property

Applies to Windows and Windows Phone

Gets or sets a value that indicates whether SemanticZoom is locked and zooming between views is disabled.

Syntax


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


var locked = semanticZoom.locked;
semanticZoom.locked = locked;

Property value

Type: Variant

true if SemanticZoom is locked; otherwise, false. The default value is false.

Remarks

If SemanticZoom is disabled, zooming between views is not possible. Interaction is limited to the current view.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

SemanticZoom

 

 

顯示:
© 2014 Microsoft