internal void SetPopupPlacement(System.Windows.Controls.Primitives.PlacementMode placement) { if (this.DropDownPopup != null) { this.DropDownPopup.Placement = placement; } if (this.popupAdorner != null) { this.popupAdorner.Placement = placement; } }
private void OnDropDownPlacementChanged(System.Windows.Controls.Primitives.PlacementMode newValue) { this.UpdateVisualState(false); }
/// <summary> /// Sets a value describing the PlacementMode of the Popup. /// </summary> /// <param name="obj">The corresponding popup.</param> /// <param name="value">A value describing the PlacementMode of the Popup.</param> public static void SetPlacement(DependencyObject obj, NativePlacementMode value) { obj.SetValue(PlacementProperty, value); }