EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

SemanticZoom.forceLayout method

Applies to Windows and Windows Phone

Forces the SemanticZoom to update its layout. Use this function when you want to make the SemanticZoom visible again after its style.display property was set to "none".

Syntax


semanticZoom.forceLayout();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

When you set the style.display property of a SemanticZoom or its parent elements to "none", the app discards layout information about those elements. When you change the value of the display property back to a style that makes everything visible again, the app will layout all the elements, but the SemanticZoom won't receive info about the current layout and will have an invalid layout. You can fix the issue by calling this function when you make the SemanticZoom visible again.

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
display

 

 

표시:
© 2014 Microsoft. All rights reserved.