ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / PopupContent Class / OnCreateHtmlContent Method

In This Topic
    OnCreateHtmlContent Method
    In This Topic
    Occurs the first time the content for the item is requested. This method is only called if the IsDynamicContent property is true.
    Syntax
    protected internal virtual Task<string> OnCreateHtmlContent()
    Protected Friend Overridable Function OnCreateHtmlContent() As Task(Of String)

    Return Value

    The html content to display in the pop-up.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also