ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / DockPane Class / Content Property

In This Topic
    Content Property (DockPane)
    In This Topic
    Gets or sets the content portion of the DockPane.
    Syntax
    protected internal FrameworkElement Content {get; set;}
    Protected Friend Property Content As FrameworkElement
    Remarks
    DockPanes have two portions: a view-model class that must derive from theDockPane abstract class and a view class that must be a FrameworkElement (typically a custom UserControl). The two components are either associated with each other through DAML or manually via OnCreateContent. If necessary, the Content property provides the view-model with access to the view.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also