Lots of unexpected “Cannot retrieve value using the binding” errors
问题 When debugging my wpf project I see a lot of binding errors logged in the output window like this one: System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=AreRowDetailsFrozen; DataItem=null; target element is 'DataGridDetailsPresenter' (Name=''); target property is 'SelectiveScrollingOrientation' (type 'SelectiveScrollingOrientation') I googled a lot about this kind of message and tried