Windows Dev Center

Frame.OnCreateAutomationPeer Method

Returns a FrameAutomationPeer for use by the Windows Phone automation infrastructure. (Overrides UIElement OnCreateAutomationPeer().)

Namespace:  System.Windows.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

protected override AutomationPeer OnCreateAutomationPeer()

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
Returns AutomationPeer. A FrameAutomationPeer for the Frame object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft