ArcGIS API for Windows Phone - Library Reference
DirectlyOver Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Map.MapGestureEventArgs Class : DirectlyOver Method

toleranceInPixels
The tolerance in pixels.
layers
GraphicsLayers to perform the hit test on. If a null value is specified, all graphics layers in the map is used.
Gets all graphics in the the provided GraphicsLayers that is under the gesture location.

Syntax

Visual Basic (Declaration) 
Public Function DirectlyOver( _
   ByVal toleranceInPixels As Double, _
   Optional ByVal layers As IEnumerable(Of GraphicsLayer) _
) As IEnumerable(Of Graphic)

Remarks

Graphics are returned top-down with the topmost graphic returned first.

Parameters

toleranceInPixels
The tolerance in pixels.
layers
GraphicsLayers to perform the hit test on. If a null value is specified, all graphics layers in the map is used.

Return Value

Graphics under the specified point

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.