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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla