ArcGIS Pro 2.7 API Reference Guide
OnCreateContent Method (Pane)

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

See Also

Reference

Pane Class
Pane Members