Base:
method
OnCreateAutomationPeer
System.Windows.Window.OnCreateAutomationPeer()