ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / TargetGraphicsLayer Property
Version

TargetGraphicsLayer Property
Gets or sets the graphics layer that acts as a target for interactive drawing tools.
Syntax
public GraphicsLayer TargetGraphicsLayer {get; set;}
Remarks
This is an in-memory setting; it's not saved in the project. It can become null if all graphics layers are removed, but it cannot be cleared.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also