private void OnMaxDropDownHeightChanged(double newValue) { if(DropDownPopup != null) { DropDownPopup.MaxDropDownHeight = newValue; DropDownPopup.Arrange(); } UpdateVisualState(true); }