Popup::GetUIParentCore Method ()


Returns the logical parent of a Popup.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public protected:
virtual DependencyObject^ GetUIParentCore() override

Return Value

Type: System.Windows::DependencyObject^

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 FrameworkElement::GetUIParentCore.

.NET Framework
Available since 3.0
Return to top