ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework Namespace / DockPaneManager Class
Members Example

In This Topic
    DockPaneManager Class
    In This Topic
    This class manages the active ArcGIS.Desktop.Framework.Contracts.DockPane instances and supplies the mechanism for instantiating new dock panes.
    Object Model
    DockPaneManager ClassDockPane Class
    Syntax
    public sealed class DockPaneManager 
    Public NotInheritable Class DockPaneManager 
    Example
    Find a dockpane
    // in order to find a dockpane you need to know it's DAML id
    var pane = FrameworkApplication.DockPaneManager.Find("esri_core_ProjectDockPane");
    
    Dockpane properties and methods
    // in order to find a dockpane you need to know it's DAML id
    var pane = FrameworkApplication.DockPaneManager.Find("esri_core_ProjectDockPane");
    
    // determine visibility
    bool visible = pane.IsVisible;
    
    // activate it
    pane.Activate();
    
    // determine dockpane state
    DockPaneState state = pane.DockState;
    
    // pin it
    pane.Pin();
    
    // hide it
    pane.Hide();
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Framework.DockPaneManager

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also