Popup.GetUIParentCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the logical parent of a Popup.

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

protected internal override DependencyObject GetUIParentCore()

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
Show: