ArcGIS Pro 3.7 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 Friend Property Content As FrameworkElement
    protected internal FrameworkElement Content {get; set;}
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also