IZoomableView.setCurrentItem method

Applies to Windows and Windows Phone

Selects the item closest to the specified screen coordinates.

Syntax


iZoomableView.setCurrentItem(x, y);

Parameters

x

Type: Variant

The x-coordinate in DIPs relative to the upper-left corner of the SemanticZoom viewport.

y

Type: Variant

The y-coordinate in DIPs relative to the upper-left corner of the SemanticZoom viewport..

Return value

This method does not return a value.

Remarks

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

See also

IZoomableView

 

 

Show:
© 2014 Microsoft