ArcGIS Pro 3.2 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 internal virtual FrameworkElement OnCreateContent()
    Protected Friend Overridable Function OnCreateContent() As FrameworkElement

    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