共用方式為


FlipView.itemSpacing property

Gets or sets the spacing between each item, in pixels.

Syntax

<div data-win-control="WinJS.UI.FlipView" data-win-options="{ itemSpacing : value}" ></div>
var itemSpacing = flipView.itemSpacing;
flipView.itemSpacing = itemSpacing;

Property value

Type: Number

A number greater than or equal to 0 that specifies the spacing between items, in pixels.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView