ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomProjectItemBase Class / OnAddToProject Method
Version

OnAddToProject Method (CustomProjectItemBase)
Callback when your custom item is being added to the project
Syntax
public virtual void OnAddToProject()
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also