OnCreateAutomationPeer Method
Collapse the table of content
Expand the table of content

Frame.OnCreateAutomationPeer Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 Overrides Function OnCreateAutomationPeer As AutomationPeer

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

© 2018 Microsoft