Attaches a child element to a Popup control.
Assembly: PresentationFramework (in PresentationFramework.dll)
You might want to create a custom control that has the same functionality as an existing control and also exhibits the behavior of a Popup. You can make your control behave like a Popup by adding a Popup to your control and calling the method.
This method assigns child to the child property and binds the following properties to child.
When you call , child cannot be a child of a UIElement. Also, PlacementTarget should be set on your control before you call this method.