Button.OnCreateAutomationPeer Method ()
.NET Framework (current version)
Creates an appropriate ButtonAutomationPeer for this control as part of the WPF infrastructure.
Assembly: PresentationFramework (in PresentationFramework.dll)
Return Value
Type: System.Windows.Automation.Peers.AutomationPeerA ButtonAutomationPeer for this control.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: