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