Partager via


GridLayout.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.GridLayout, backdropColor: value}}>
</div>
var backdropColor = gridLayout.backdropColor;
gridLayout.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

GridLayout