共用方式為


ListLayout.backdropColor 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 the fill color for the default pattern used for the backdrops.

Syntax

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

Property value

Type: String

The fill color for the default pattern used for the backdrops. The default value is "rgba(155,155,155,0.23)".

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListLayout