OnCreateAutomationPeer Method
Creates and returns an System.Windows.Automation.Peers.AutomationPeer for this
ArcGIS.Desktop.Mapping.Controls.MapControl.
Protected Overrides NotOverridable Function OnCreateAutomationPeer() As AutomationPeer
Return Value
A new System.Windows.Automation.Peers.UserControlAutomationPeer for this ArcGIS.Desktop.Mapping.Controls.MapControl.
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.