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

    OnCreateContent Method (CustomControl)
    Called to create the PlugIn's visual component if not specified in DAML.
    Syntax
    protected internal virtual FrameworkElement OnCreateContent()

    Return Value

    The visual component associated with the custom control.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also