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

In This Topic
    OnSetContent Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also