GridLayout.hitTest method

Applies to Windows and Windows Phone

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

Syntax


var number = gridLayout.hitTest(x, y);

Parameters

x

Type: Number

The x-coordinate, or the horizontal position on the screen.

y

Type: Number

The y-coordinate, or the vertical position on the screen.

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

GridLayout

 

 

Show:
© 2014 Microsoft