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

ToolElement Property
Gets or sets the Pane's HwndHost if applicable.
Syntax
public FrameworkElement ToolElement {get; set;}
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, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also