ArcGIS Pro 2.8 API Reference Guide
PopupContent Class
Members  Example 

ArcGIS.Desktop.Mapping Namespace : PopupContent Class
Represents the content to be displayed in a custom pop-up.
Object Model
PopupContent ClassMapMember Class
Syntax
Example
Show a custom pop-up.
public void ShowCustomPopup()
{
  //Get the active map view.
  var mapView = MapView.Active;
  if (mapView == null)
    return;

  //Create custom popup content
  var popups = new List<PopupContent>();
  popups.Add(new PopupContent("<b>This text is bold.</b>", "Custom tooltip from HTML string"));
  popups.Add(new PopupContent(new Uri("http://www.esri.com/"), "Custom tooltip from Uri"));
  
  mapView.ShowCustomPopup(popups);
}
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Mapping.PopupContent

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PopupContent Members
ArcGIS.Desktop.Mapping Namespace