public static FrameworkElement GetPlacementParent(Windows.Popup popup) { //popup.AssertNotNull("popup"); return popup.GetValue(PlacementParentProperty) as FrameworkElement; }
public static PopupOrientation GetActualOrientation(Windows.Popup popup) { //popup.AssertNotNull("popup"); return popup.GetValue(ActualOrientationProperty) as PopupOrientation; }
public static bool GetStaysOpen(Windows.Popup popup) { //popup.AssertNotNull("popup"); return (bool)popup.GetValue(StaysOpenProperty); }
public static PopupOrientationCollection GetPreferredOrientations(Windows.Popup popup) { //popup.AssertNotNull("popup"); return popup.GetValue(PreferredOrientationsProperty) as PopupOrientationCollection; }