AutomationPeer.GetParent Method

Definition

Gets the AutomationPeer that is the parent of this AutomationPeer.

public:
 System::Windows::Automation::Peers::AutomationPeer ^ GetParent();
public System.Windows.Automation.Peers.AutomationPeer GetParent ();
member this.GetParent : unit -> System.Windows.Automation.Peers.AutomationPeer
Public Function GetParent () As AutomationPeer

Returns

The parent automation peer.

Applies to

See also