ArcGIS Runtime SDK for WPF - Library Reference
DirectlyOver Method
See Also 
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 XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.