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

In This Topic
    OnCreateContent Method (Pane)
    In This Topic
    Optional override to create the visible content of the control.
    Syntax
    protected internal virtual FrameworkElement OnCreateContent()
    Protected Friend Overridable Function OnCreateContent() As FrameworkElement

    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