ArcGIS Pro 2.6 API Reference Guide
Find Method (DockPaneManager)

ArcGIS.Desktop.Framework Namespace > DockPaneManager Class : Find Method
The DAML identifier.
Returns the specified ArcGIS.Desktop.Framework.Contracts.DockPane. Instantiates the DockPane if necessary.
Syntax
public DockPane Find( 
   string id
)
Public Function Find( _
   ByVal id As String _
) As DockPane

Parameters

id
The DAML identifier.

Return Value

Returns the dock pane associated with the specified DAML ID.
Remarks
Dock panes are singletons: there is never more than one instance of a particular dock pane and once created, they are not destroyed until the application shuts down. Use this function to access a specific dock pane. Of the dock pane doesn't exist in the collection, it will be created. Use IsDockPaneCreated to check if a dock pane already exists and IsVisible to determine a dock pane's visibility, neither of these functions will create the dock pane if it doesn't exist.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DockPaneManager Class
DockPaneManager Members