setCurrentItem method
Collapse the table of content
Expand the table of content

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IZoomableView

 

 

Show:
© 2017 Microsoft