Click or drag to resize
GraphicsOverlayHitTestAsync Method (ViewBase, Rect, Int32)
Performs a Hit Test against the GraphicsOverlay at the given intersecting rectangle, relative to the upper left of the map.

Namespace: Esri.ArcGISRuntime.Controls
Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: (
public Task<IEnumerable<Graphic>> HitTestAsync(
	ViewBase view,
	Rect intersectingRectangle,
	int maxHits


Type: Esri.ArcGISRuntime.ControlsViewBase
The map view to perform the hit test on. The layer must be a member of the map in the map view.
Type: System.WindowsRect
Intersecting rectangle relative to the upper left of the map.
Type: SystemInt32
The maximum number of hits. Specify '1' for topmost and fast hittest.

Return Value

Type: TaskIEnumerableGraphic
All graphics under the screen point
See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms:
Windows Desktop
Windows Phone
Windows Store