Window.OnCreateAutomationPeer Method
.NET Framework 4.6 and 4.5
Creates and returns a WindowAutomationPeer object for this Window.
Namespace: System.Windows
Assembly: PresentationFramework (in PresentationFramework.dll)
Return Value
Type: System.Windows.Automation.Peers.AutomationPeerA WindowAutomationPeer object for this Window.
This method overrides OnCreateAutomationPeer.
Show: