AutomationPeer.SetParent(AutomationPeer) AutomationPeer.SetParent(AutomationPeer) AutomationPeer.SetParent(AutomationPeer) AutomationPeer.SetParent(AutomationPeer) Method

Definition

Sets the AutomationPeer that is the parent of this AutomationPeer.

public : void SetParent(AutomationPeer peer)
void SetParent(AutomationPeer peer) const;
public void SetParent(AutomationPeer peer)
Public Sub SetParent(peer As AutomationPeer)

Parameters

peer
AutomationPeer AutomationPeer AutomationPeer 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.