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

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

    Return Value

    The Pane's user interface.
    Remarks
    If the visible content (the View) of the Pane 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