Jaa


AutomationPeer.SetParent(AutomationPeer) Method

Definition

Sets the AutomationPeer that is the parent of this AutomationPeer.

public:
 virtual void SetParent(AutomationPeer ^ peer) = SetParent;
void SetParent(AutomationPeer const& peer);
public void SetParent(AutomationPeer peer);
function setParent(peer)
Public Sub SetParent (peer As AutomationPeer)

Parameters

peer
AutomationPeer

The parent automation peer.

Remarks

You can't re-parent an AutomationPeer for a UWP app. This functionality is only available for a Windows Phone 8.x app.

Applies to