共用方式為


ListLayout.disableBackdrop property

This property is no longer supported. Starting with Windows Library for JavaScript 2.0, use the .win-listview.win-container.win-backdrop Cascading Style Sheets (CSS) selector. Gets or sets a value that indicates whether the layout should disable the backdrop feature which avoids blank areas while panning in a virtualized list.

Syntax

<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{layout: {type: WinJS.UI.ListLayout, disableBackdrop: value}}>
</div>
var disableBackdrop = listLayout.disableBackdrop;
listLayout.disableBackdrop = disableBackdrop;

Property value

Type: Boolean

true to disable the backdrop feature; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListLayout