ArcGIS Pro 2.8 API Reference Guide
ShowPopup(MapMember,Int64,PopupDefinition) Method
Example 

ArcGIS.Desktop.Mapping Namespace > MapView Class > ShowPopup Method : ShowPopup(MapMember,Int64,PopupDefinition) Method
The MapMember containing the feature.
The object id of the feature.
A class to set additional properties for the popup. When set to null, default values will be used.
Show a pop-up for a feature. This method must be called on the UI thread.
Syntax
Public Overloads Sub ShowPopup( _
   ByVal mapMember As MapMember, _
   ByVal featureID As Long, _
   ByVal popupDef As PopupDefinition _
) 

Parameters

mapMember
The MapMember containing the feature.
featureID
The object id of the feature.
popupDef
A class to set additional properties for the popup. When set to null, default values will be used.
Exceptions
ExceptionDescription
Popups must be created on the UI thread
Example
Show a pop-up for a feature.
public void ShowPopup(MapMember mapMember, long objectID)
{
  //Get the active map view.
  var mapView = MapView.Active;
  if (mapView == null)
    return;

  mapView.ShowPopup(mapMember, objectID);
}
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members
Overload List