Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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

Library

Ui.js

See also

IZoomableView

 

 

Anzeigen:
© 2015 Microsoft