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