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

In This Topic
    OnCreateContent Method (DockPane)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also