ArcGIS Pro 2.6 API Reference Guide
OnCreateContent Method (DockPane)

ArcGIS.Desktop.Framework.Contracts Namespace > DockPane Class : OnCreateContent Method
Optional override to create the visible content of the control.
Syntax
protected internal virtual Control OnCreateContent()
Protected Friend Overridable Function OnCreateContent() As Control

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 10, Windows 8.1, Windows 7

See Also

Reference

DockPane Class
DockPane Members