July 28, 2014
Returns a class-specific AutomationPeer implementation for use by the Windows Phone automation infrastructure.
Assembly: System.Windows (in System.Windows.dll)
The implementation of this method is typically to call the constructor of a specific AutomationPeer implementation, and return it as the return value.
All TextElement derived classes should implement this method in order to provide their own specific AutomationPeer implementations to the Windows Phone infrastructure. For details on implementing this pattern, see AutomationPeer.