Windows Dev Center

FlipView.itemSpacing property

Applies to Windows and Windows Phone

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

FlipView

 

 

Show:
© 2015 Microsoft