ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / DockPane Class / OnCreateContent Method
Version

OnCreateContent Method (DockPane)
Optional override to create the visible content of the control.
Syntax
protected internal virtual Control OnCreateContent()

Return Value

The DockPane's user interface.
Remarks
If the visible content (the View portion) of the DockPane was not specified in DAML, override this function to provide it.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also