ComboBox SelectedValue not changing from binding to Dependency Property
问题 I have a Custom Control: I don't want to get into specifics so for simplicity's sake i have 3 Dependency Properties : MyCustomControl (CS) : public class MyCustomControl : Control { DP Value1 DP InternalValue DP SelectedValue OnValue1Changed() { InternalValue = CalculateBasedOn1(); } static bool _isSetInternally; OnInternalValueChanged() { if(Condition()) { _isSetInternally = true; SelectedValue = e.NewValue; } else { Value1 = FixValue1(); } } OnSelectedValueChanged() { if(_isSetInternally) {