Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

FlipView.forceLayout method

Applies to Windows and Windows Phone

Forces the FlipView to update its layout. Use this function when making the FlipView visible again after its style.display property had been set to "none".

Syntax


flipView.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 FlipView 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 FlipView 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 FlipView visible again.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView
display

 

 

Anzeigen:
© 2016 Microsoft