AutomationPeer.SetParent(AutomationPeer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.