Expand Minimize

AutomationPeer.SetParent method

Applies to Windows Phone only

Sets the AutomationPeer that is the parent of this AutomationPeer.

Syntax


public void SetParent(
  AutomationPeer peer
)

Parameters

peer

Type: AutomationPeer

The parent automation peer.

Remarks

  • Applies to Windows

Note  You can't reparent an AutomationPeer for a Windows Store app. This functionality is only available for a Windows Phone Store app.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

See also

AutomationPeer

 

 

Show:
© 2014 Microsoft