ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Pane Class / Caption Property
Example

In This Topic
    Caption Property (Pane)
    In This Topic
    Gets or sets the Pane's caption.
    Syntax
    Public Shadows Property Caption As String
    public new string Caption {get; set;}
    Example
    Change the Map name and caption of the active pane
    {
        //Note: call within QueuedTask.Run()
        MapView.Active.Map.SetName("Test");
        ProApp.Panes.ActivePane.Caption = "Caption";
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also