public static bool GetIsEnabled(Popup popup) {
     return (bool) popup.GetValue(IsEnabledProperty);
 }
Beispiel #2
0
 public static FrameworkElement GetPlacementParent(Windows.Popup popup)
 {
     //popup.AssertNotNull("popup");
     return(popup.GetValue(PlacementParentProperty) as FrameworkElement);
 }
Beispiel #3
0
 public static PopupOrientation GetActualOrientation(Windows.Popup popup)
 {
     //popup.AssertNotNull("popup");
     return(popup.GetValue(ActualOrientationProperty) as PopupOrientation);
 }
Beispiel #4
0
 public static bool GetStaysOpen(Windows.Popup popup)
 {
     //popup.AssertNotNull("popup");
     return((bool)popup.GetValue(StaysOpenProperty));
 }
Beispiel #5
0
 public static PopupOrientationCollection GetPreferredOrientations(Windows.Popup popup)
 {
     //popup.AssertNotNull("popup");
     return(popup.GetValue(PreferredOrientationsProperty) as PopupOrientationCollection);
 }