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