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