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

In This Topic
    OnCreateContent Method (CustomControl)
    In This Topic
    Called to create the PlugIn's visual component if not specified in DAML.
    Syntax
    Protected Friend Overridable Function OnCreateContent() As FrameworkElement
    protected internal virtual FrameworkElement OnCreateContent()

    Return Value

    The visual component associated with the custom control.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also