Bewerken

Share via


Popup.GetUIParentCore Method

Definition

Returns the logical parent of a Popup.

protected public:
 override System::Windows::DependencyObject ^ GetUIParentCore();
protected internal override System.Windows.DependencyObject GetUIParentCore ();
override this.GetUIParentCore : unit -> System.Windows.DependencyObject
Protected Friend Overrides Function GetUIParentCore () As DependencyObject

Returns

If the Popup does not have a defined parent and the PlacementTarget is not null, the PlacementTarget is returned. Otherwise, the return values are the same as GetUIParentCore().

Applies to