ArcGIS Pro 2.7 API Reference Guide
OnCreateContent Method (CustomControl)

ArcGIS.Desktop.Framework.Contracts Namespace > CustomControl Class : OnCreateContent Method
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 10, Windows 8.1

See Also

Reference

CustomControl Class
CustomControl Members