ToolTip.OnCreateAutomationPeer Method
May 02, 2013
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns an AutomationPeer for use by the Windows Phone automation infrastructure.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.Windows.Automation.Peers.AutomationPeerAn AutomationPeer for the ToolTip object.
This method creates a new AutomationPeer instance if one has not been created for the control instance; otherwise, it returns the AutomationPeer previously created.
Classes that participate in the Windows Phone automation infrastructure must implement this method to return a class-specific derived class of AutomationPeer that reports information for automation behavior.