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