AutomationPeer::PeerFromProvider Method (IRawElementProviderSimple^)
.NET Framework (current version)
Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- provider
-
Type:
System.Windows.Automation.Provider::IRawElementProviderSimple^
The class that implements IRawElementProviderSimple.
Return Value
Type: System.Windows.Automation.Peers::AutomationPeer^An AutomationPeer for the specified IRawElementProviderSimple proxy.
.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: