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