public static void SetPlacementParent(Windows.Popup popup, FrameworkElement placementParent) { //popup.AssertNotNull("popup"); popup.SetValue(PlacementParentProperty, placementParent); }