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