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