ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / DockPaneState Enumeration
Example Example

In This Topic
    DockPaneState Enumeration
    In This Topic
    DockPane positions.
    Syntax
    Members
    MemberDescription
    AutoHide Content is hosted by a fly-out window and is visible only when the user moves the mouse over an anchor thumb located in the application border.
    DockableWindow Content is hosted by a floating window and the user can re-dock it within the application.
    Docked Content is docked within the application.
    FloatingWindow Content is hosted by a floating window that can't be docked within the application.
    Hidden Content is hidden.
    NoneContent is not associated with any ArcGIS.Desktop.Framework.DockPaneManager (Default State).
    Example
    Dockpane operations
    {
      // in order to find a dockpane you need to know its DAML id
      pane = FrameworkApplication.DockPaneManager.Find(dockPaneID);
    
      // 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
       System.ValueType
          System.Enum
             ArcGIS.Desktop.Framework.Contracts.DockPaneState

    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also