ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Pane Class / ToolElement Property

In This Topic
    ToolElement Property
    In This Topic
    Gets or sets the Pane's HwndHost if applicable.
    Syntax
    public FrameworkElement ToolElement {get; set;}
    Public Property ToolElement As FrameworkElement
    Remarks
    If your custom Pane ultimately hosts a System.Windows.Interop.HwndHost, use this property to give the framework access to the HwndHost so it may properly establish focus./>
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also