Show / Hide Table of Contents

Property GraphicsOverlays

GraphicsOverlays

Gets or sets a collection of GraphicsOverlay objects used to display graphics on top of the view's content.

Declaration
public GraphicsOverlayCollection GraphicsOverlays { get; set; }
Property Value
Type Description
GraphicsOverlayCollection

A collection of GraphicsOverlay objects used to display graphics on top of the view's content.

Remarks

To display graphics in the GeoView, add the graphics to a GraphicsOverlay and add the to this collection. The order of the GraphicsOverlay objects in the collection reflects their display order in the view. The first GraphicsOverlay in the collection is drawn beneath all other graphic overlays.

You cannot add duplicate GraphicsOverlay objects to the collection or use this graphics overlay collection in another GeoView.

Use methods such as IdentifyGraphicsOverlaysAsync(Point, Double, Boolean), to identify graphics in this collection.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.