예제 #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);
 }