ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Catalog Namespace / ItemDialog Class / Title Property
Example

In This Topic
    Title Property (ItemDialog)
    In This Topic
    Gets or sets the title of the Browse dialog box.
    Syntax
    public string Title {get; set;}
    Public Property Title As String
    Example
    OpenItemDialog
    /// Adds a single item to a map
    OpenItemDialog addToMapDialog = new OpenItemDialog()
    {
      Title = "Add To Map",
      InitialLocation = @"C:\Data\NewYork\Counties\Erie\Streets",
      Filter = ItemFilters.Composite_AddToMap
    };
    
    SaveItemDialog
    SaveItemDialog saveLayerFileDialog = new SaveItemDialog()
    {
      Title = "Save Layer File",
      InitialLocation = @"C:\Data\ProLayers\Geographic\Streets",
      Filter = ItemFilters.Files_All
    };
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also