ArcGIS Pro 2.6 API Reference Guide
PopupContent Constructor(String,String)
Example 

ArcGIS.Desktop.Mapping Namespace > PopupContent Class > PopupContent Constructor : PopupContent Constructor(String,String)
Html content to display in the pop-up.
Text displayed in the title bar of the pop-up.
Initialize a new instance of PopupContent.
Syntax
public PopupContent( 
   string htmlContent,
   string title
)
Public Function New( _
   ByVal htmlContent As String, _
   ByVal title As String _
)

Parameters

htmlContent
Html content to display in the pop-up.
title
Text displayed in the title bar of the pop-up.
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);
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PopupContent Class
PopupContent Members
Overload List