ArcGIS Pro 2.6 API Reference Guide
OnSetContent Method

ArcGIS.Desktop.Framework.Contracts Namespace > DockPane Class : OnSetContent Method
Called when the Content is specified.
Syntax
protected internal virtual void OnSetContent()
Protected Friend Overridable Sub OnSetContent() 
Remarks
Provides derived classes with the opportunity of knowing when the DockPane's Content is set. This may be useful in scenarios where the Framework stitches together the DockPane and its Content via DAML. Note, the derived DockPane class is automatically set as the DataContext for the Content.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

DockPane Class
DockPane Members