ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TrayButton Class / ConstructPopupContent Method

In This Topic
    ConstructPopupContent Method
    In This Topic
    Constructs a ContentControl that will be displayed as the Content within a popup window.
    Syntax
    protected virtual ContentControl ConstructPopupContent()
    Protected Overridable Function ConstructPopupContent() As ContentControl

    Return Value

    A ContentControl that will be displayed each time the popup is opened. if null is returned (the default) then the popup window will be blank.
    Remarks

    Only available if ButtonType is TrayButtonType.PopupToggleButton

    A new instance of the popup ContentControl will be constructed each time the popup is opened.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also