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