ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Core Namespace / ICatalogWindow Interface
Members Example

In This Topic
    ICatalogWindow Interface
    In This Topic
    Use this interface to change the catalog dock pane content and secondary content for the portal content type
    Syntax
    public interface ICatalogWindow 
    Public Interface ICatalogWindow 
    Remarks
    The catalog content can only be manipulated if the active window in the application is the catalog dock pane. See IsActiveWindow. Otherwise requests to change the displayed content type or secondary portal content type will be ignored. The CatalogContentType.Portal content type must be the current content type to change the CatalogSecondaryPortalContentType.
    Example
    Get the catalog content type currently being shown
    //Gets the Catalog pane
    var catalogWindow = Project.GetCatalogPane() as ICatalogWindow;
    var catContentType = catalogWindow.GetCurrentContentType();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also