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.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin