private void InitCombobox() { ProfilesWrapper = _profilesProvider?.Settings.Where(p => p.Guid != CurrentProfile.Guid).Select(x => new ConversionProfileWrapper(x)).ToObservableCollection(); _forwardProfile = ProfilesWrapper.FirstOrDefault(x => x.ConversionProfile.Guid == CurrentProfile.ForwardToFurtherProfile.ProfileGuid); // Important: SelectedProfile must be raised before Profiles. // Otherwise, the UI will update the binding source and overwrite the selected profile. RaisePropertyChanged(nameof(ForwardProfileWrapper)); RaisePropertyChanged(nameof(ProfilesWrapper)); }