OneWay binding stops working after the target manually updated
问题 I have such WPF binding code: TestModel source = new TestModel(); TestModel target = new TestModel(); Bind(source, target, BindingMode.OneWay); source.Attribute = "1"; AssertAreEqual(target.Attribute, "1"); target.Attribute = "foo"; source.Attribute = "2"; AssertAreEqual(target.Attribute, "2"); The second assertion fails! This seems odd for me. Also, I tried 'OneWayToSource' instead of 'OneWay', and all works as expected. Bind(source, target, BindingMode.OneWayToSource); target.Attribute = "1