This topic has not yet been rated - Rate this topic

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.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
protected override AutomationPeer OnCreateAutomationPeer()

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.

Windows Phone OS

Supported in: 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.