Exemplo n.º 1
0
 public static void SetStaysOpen(System.Windows.Controls.Primitives.Popup popup, bool staysOpen)
 {
     //popup.AssertNotNull("popup");
     popup.SetValue(StaysOpenProperty, staysOpen);
 }
Exemplo n.º 2
0
 public static void SetPreferredOrientations(System.Windows.Controls.Primitives.Popup popup, PopupOrientationCollection orientations)
 {
     //popup.AssertNotNull("popup");
     popup.SetValue(PreferredOrientationsProperty, orientations);
 }
Exemplo n.º 3
0
 public static void SetActualOrientation(System.Windows.Controls.Primitives.Popup popup, PopupOrientation orientation)
 {
     //popup.AssertNotNull("popup");
     popup.SetValue(ActualOrientationProperty, orientation);
 }
Exemplo n.º 4
0
 public static void SetPlacementParent(System.Windows.Controls.Primitives.Popup popup, FrameworkElement placementParent)
 {
     //popup.AssertNotNull("popup");
     popup.SetValue(PlacementParentProperty, placementParent);
 }