ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / DockPane Class / OnSetContent Method
Version

OnSetContent Method
Called when the Content is specified.
Syntax
protected internal virtual void 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 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also